Hi,guys!
I am a beginner to CEGUI,so,i use OIS+OGRE+CEGUI to test CEGUI,and i add a frame window to my app,when i resize my window,why didnt the frame window resize and reposition?How do i do that????THANKS~
how to resize the window
Moderators: CEGUI MVP, CEGUI Team
Re: how to resize the window
You need to call System::notifyDisplaySizeChanged
Re: how to resize the window
well,thank u,it works,however,it seems that some delay when i reszie my widnow?How can i work it out?
Re: how to resize the window
The delay is likely caused by your window manager / compositor.
There are probably ways to get rid of the flicker but I don't know about the specifics. Depending on your platform you should probably ask people who deal with it (WinAPI / GDI, Xorg, Quartz or whatever else).
There are probably ways to get rid of the flicker but I don't know about the specifics. Depending on your platform you should probably ask people who deal with it (WinAPI / GDI, Xorg, Quartz or whatever else).
Re: how to resize the window
I use CEGUI+OGRE+OIS in windows system,So,who did solve it already??
Re: how to resize the window
So,i am still waiting someone to offer a solution of this problem~~~
Re: how to resize the window
the problem is unrelated to CEGUI. All CEGUI is responsible for is rendering the GUI at the moment you call its render function. When you use Ogre, Ogre will create a window which will be used for CEGUI then. If the content isnt updated in time or flickers, it is rather related to OGRE and the way they handle their window, than CEGUI. Try asking in the Ogre forums
CrazyEddie: "I don't like GUIs"
Who is online
Users browsing this forum: No registered users and 4 guests