How to make IGUIWindow stay one place?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sunnygraphy
Posts: 44
Joined: Mon Dec 05, 2005 8:15 am

How to make IGUIWindow stay one place?

Post by sunnygraphy »

Hi everybody..


I try to create "fixed window" using the following code.

IGUIWindow* wnd = env->addWindow(core::rect<s32>(0,0,640,480),
false, L"Tet", 0, 5000);

And I want the window not moved by dragging using left mouse button.

Is there any way for this?


thanks
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

A primitive 'fix' would be to put the window back at the same position before rendering. It would never move.

Travis
Post Reply