[Solved]How to use window animation?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

watermoon
Just popping in
Just popping in
Posts: 5
Joined: Fri May 29, 2015 11:37

[Solved]How to use window animation?

Postby watermoon » Fri May 29, 2015 15:31

I have a window create from layout file:

Code: Select all

CEGUI::Window *guiRoot = CEGUI::WindowManager::getSingleton().loadLayoutFromFile("mylayout2.layout");
   CEGUI::System::getSingleton().getDefaultGUIContext().setRootWindow(guiRoot);


I hope the window is invisiable.
then when I move mouse cursor to left ,it moves from edge to center, just like MFC CDockablePane

how to create and use these window animation?
or can I manually send drag message to the cegui window?

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to use window animation?

Postby Ident » Fri May 29, 2015 18:25

watermoon wrote:I have a window create from layout file:

Code: Select all

CEGUI::Window *guiRoot = CEGUI::WindowManager::getSingleton().loadLayoutFromFile("mylayout2.layout");
   CEGUI::System::getSingleton().getDefaultGUIContext().setRootWindow(guiRoot);


I hope the window is invisiable.
then when I move mouse cursor to left ,it moves from edge to center, just like MFC CDockablePane

how to create and use these window animation?
or can I manually send drag message to the cegui window?



I have absolutely no idea what you are trying to ask. Please formulate your post in proper English. I can't even guess what you are trying to say. Drag? Animation? You hope the window is "invisiable"? :?

Here is info about Animations http://cegui.org.uk/wiki/Animation_System
CrazyEddie: "I don't like GUIs"

watermoon
Just popping in
Just popping in
Posts: 5
Joined: Fri May 29, 2015 11:37

Re: How to use window animation?

Postby watermoon » Sat May 30, 2015 08:31

Ident wrote:
watermoon wrote:I have a window create from layout file:

Code: Select all

CEGUI::Window *guiRoot = CEGUI::WindowManager::getSingleton().loadLayoutFromFile("mylayout2.layout");
   CEGUI::System::getSingleton().getDefaultGUIContext().setRootWindow(guiRoot);


I hope the window is invisiable.
then when I move mouse cursor to left ,it moves from edge to center, just like MFC CDockablePane

how to create and use these window animation?
or can I manually send drag message to the cegui window?



I have absolutely no idea what you are trying to ask. Please formulate your post in proper English. I can't even guess what you are trying to say. Drag? Animation? You hope the window is "invisiable"? :?

Here is info about Animations http://cegui.org.uk/wiki/Animation_System


I am not good at english...
thank you for your reply. actually now I know how to use Animation_System by learnning the gameMenu demo and the wiki.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests