I want to create a permanent on top window(AlwaysOnTop is not what i need),
and this is the getRenderingContext_impl code:
Code: Select all
Window* sheet = System::getSingleton().getGUISheet();
ctx.surface = sheet ? &sheet->getTargetRenderingSurface() :
&System::getSingleton().getRenderer()->getDefaultRenderingRoot();
ctx.owner = 0;
ctx.offset = Vector2(0, 0);
ctx.queue = RQ_USER_5;
Scheme:
Code: Select all
<FalagardMapping WindowType="MIP/TopWindow" TargetType="TopWindow" Renderer="Falagard/Default" LookNFeel="MIP/TopWindow" />
but when i click other window, they still move to front.
please correct me if I'm wrong, thx.
=========================================
Log:
+-+-+-+
06/05/2010 15:22:23 (Std) + Crazy Eddie's GUI System - Event log +
06/05/2010 15:22:23 (Std) + (http://www.cegui.org.uk/) +
06/05/2010 15:22:23 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
06/05/2010 15:22:23 (Std) CEGUI::Logger singleton created. (00BA7AC0)
06/05/2010 15:22:23 (Std)
06/05/2010 15:22:23 (Std) ********************************************************************************
06/05/2010 15:22:23 (Std) * Important: *
06/05/2010 15:22:23 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
06/05/2010 15:22:23 (Std) * of this log file indicated below. Failure to do this will result in no *
06/05/2010 15:22:23 (Std) * support being given; please do not waste our time. *
06/05/2010 15:22:23 (Std) ********************************************************************************
06/05/2010 15:22:23 (Std) ********************************************************************************
06/05/2010 15:22:23 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
06/05/2010 15:22:23 (Std) ********************************************************************************
06/05/2010 15:22:23 (Std) ---- Version 0.7.9999 (Build: May 5 2010 Microsoft Windows MSVC++ 8.0 32 bit) ----
06/05/2010 15:22:23 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
06/05/2010 15:22:23 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
06/05/2010 15:22:23 (Std) ---- Image Codec module is: FreeImageCodec - FreeImage based image codec ----
06/05/2010 15:22:23 (Std) ---- Scripting module is: None ----