Request sended.
Virgin pull request, hope i'm doing it right.
Search found 19 matches
- Wed Jan 14, 2015 02:09
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: [Bug/Solved] Multiline Editbox paste not work
- Replies: 3
- Views: 9354
- Tue Jan 13, 2015 14:26
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: [Bug/Solved] Multiline Editbox paste not work
- Replies: 3
- Views: 9354
[Bug/Solved] Multiline Editbox paste not work
Hi I'm using cegui 0.8.4 Try to paste on multiline editbox, but failed. found this in MultiLineEditbox.cpp , line 744 // if there is room if (getText().length() - clipboardText.length() < d_maxTextLen) { This must be a typo, this " - " should be "+". i changed it, and it workd. B...
- Tue Jan 06, 2015 10:34
- Forum: Help
- Topic: How to build cegui0.8 with ogre1.9 and directx11?
- Replies: 10
- Views: 7800
Re: How to build cegui0.8 with ogre1.9 and directx11?
I tried to serialize texture at void OgreTexture::loadFromFile(const String& filename, const String& resourceGroup) { ... Texture* res = sys->getImageCodec().load(texFile, this); serialize(res); } And i got totaly black pitcure , texture name is "_cegui_ogre_0" (the picture is Taha...
- Mon Jan 05, 2015 16:01
- Forum: Help
- Topic: How to build cegui0.8 with ogre1.9 and directx11?
- Replies: 10
- Views: 7800
Re: How to build cegui0.8 with ogre1.9 and directx11?
I can see real picture when debuging PsShader of ogrehead.
But I get nothing for gTexture when rendering cegui wnd, just like 0 0 0 0 for ever. So i think it might be empty.
I'm going to sleep now, may be the problem will pop up tomorrow morning.
But I get nothing for gTexture when rendering cegui wnd, just like 0 0 0 0 for ever. So i think it might be empty.
I'm going to sleep now, may be the problem will pop up tomorrow morning.
- Mon Jan 05, 2015 15:33
- Forum: Help
- Topic: How to build cegui0.8 with ogre1.9 and directx11?
- Replies: 10
- Views: 7800
Re: How to build cegui0.8 with ogre1.9 and directx11?
branch v1-9, i just update my repo yesterday. I can render my scene normally in dx11 if i don't set cegui root window. So DX11 support must also be fine. The shader might be the problem, but i can't find out what's wrong within it. :( I render my ogrehead with nearly the same shader as ogrerender, i...
- Mon Jan 05, 2015 15:09
- Forum: Help
- Topic: How to build cegui0.8 with ogre1.9 and directx11?
- Replies: 10
- Views: 7800
Re: How to build cegui0.8 with ogre1.9 and directx11?
If i use dx9 and default ogre renderer, it works fine.
So i believe resource setting is totally right.
So i believe resource setting is totally right.
- Mon Jan 05, 2015 13:52
- Forum: Help
- Topic: How to build cegui0.8 with ogre1.9 and directx11?
- Replies: 10
- Views: 7800
How to build cegui0.8 with ogre1.9 and directx11?
Hi everyone. I'm trying to build cegui 0.8 with ogre 1.9 and directx11. I rebuild both sdk from source file yesterday, so they are the newest. This is my shader in ogre renderer: static Ogre::String S_hlsl_vs_source( "uniform float4x4 worldViewProjMatrix;" "struct VS_OUT {" "...
- Thu Jan 01, 2015 02:08
- Forum: Help
- Topic: [Solved] How to update rtt
- Replies: 10
- Views: 6193
Re: [Solved] How to update rtt
Checked.
Right and clear.
Right and clear.
- Wed Dec 31, 2014 13:38
- Forum: Help
- Topic: [Solved] How to update rtt
- Replies: 10
- Views: 6193
Re: How to update rtt
Code: Select all
TexturePtr ptrTex = TextureManager::getSingletonPtr()->getByName(realTexName);
mpOgreTexture->setOgreTexture(ptrTex);
mpimgTex->invalidate();
mpimgTex is the cegui window
- Wed Dec 31, 2014 13:24
- Forum: Help
- Topic: [Solved] How to update rtt
- Replies: 10
- Views: 6193
Re: How to update rtt
After set autoRenderSurface of all parent to false, the image still won't be updated. If i click on the window (only one time), the image can be updated from now on. But if i change the underlying texture to another one at real time, i have to click on the window again( still one time), otherwise it...
- Wed Dec 31, 2014 12:13
- Forum: Help
- Topic: [Solved] How to update rtt
- Replies: 10
- Views: 6193
Re: How to update rtt
Hi Ident: I use static image to display my RTT, it's parent is a FrameWindow. After set autorenderingsurface of FrameWindow to false, the problem changed: The image can be updated now, but i have to click on the window first. If i change the underlying texture, i have to click on the window again, o...
- Wed Dec 31, 2014 08:10
- Forum: Help
- Topic: [Solved] How to update rtt
- Replies: 10
- Views: 6193
[Solved] How to update rtt
Hi everyone. I have a window displaying texture rendered in ogre. I set up the rtt according to this http://cegui.org.uk/wiki/Rendering_to_texture_(RTT)_in_CEGUI . The texture can only be updated when i click on the window. :( There should be a way to update texture every frame, i set "updatemo...
- Sun Nov 23, 2014 13:05
- Forum: Help
- Topic: [Solved] Fire event from a hidden window
- Replies: 4
- Views: 3780
Re: Send event to wnd
Yes, thanks, it solved my problem. Hidden wnd can also fire event.
I'm a fool, i tried to fireEvent on parent window and hope the click event to propergate to child yesterday.....
Code: Select all
getColourRect()->fireEvent(Window::EventMouseClick, WindowEventArgs(getColourRect()));
I'm a fool, i tried to fireEvent on parent window and hope the click event to propergate to child yesterday.....
- Sun Nov 23, 2014 06:21
- Forum: Help
- Topic: [Solved] Fire event from a hidden window
- Replies: 4
- Views: 3780
Re: Send event to wnd
Well, i guess i have to use subclass to break the onmouseclick encapsulation.
- Sat Nov 22, 2014 13:31
- Forum: Help
- Topic: [Solved] Fire event from a hidden window
- Replies: 4
- Views: 3780
[Solved] Fire event from a hidden window
Hi everyone! I have a button which is hidden. I want to trigger mouse click event of the button. I can not click ( also don't want to) a invisible button, is it possible to trigger ths button's on mouse click event? I guess it must somehow like message in windows, just don't know where to send the m...