[SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

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

Petskull
Just popping in
Just popping in
Posts: 3
Joined: Sat Feb 27, 2016 06:03

[SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

Postby Petskull » Sat Feb 27, 2016 06:43

The code below should very simply: display 1 button, display the mouse cursor, and move the cursor when the mouse moves. It does indeed display the button, along with the cursor at the center, but moving the mouse does not change the position of the cursor. In desperation, I tried to set the cursor position manually in AppListener::keyPressed(), but that didn't work either (getMouseCursor().setPosition()).

This is a picture of the effect:
Image

This code I am using in mouseMoved, but it doesn't seem to work. I have confirmed that mouseMoved() is indeed being called onmousemove (you can still see the Ogre logger in the full code).

Code: Select all

bool mouseMoved(const OIS::MouseEvent &arg){
   CEGUI::GUIContext &context = CEGUI::System::getSingleton().getDefaultGUIContext();
   context.injectMouseMove((float)arg.state.X.rel, (float)arg.state.Y.rel);
   return true;
}


I should mention that I rebuilt CEGUI from the v0-8 branch today, and the samples work perfectly. Though this is not to give you the impression that I had this code working at any point in the past.

I have scoured the forums and google, along with the relevant header files. Failing that I have tried to write a concise example of the problem which illustrates the issue.

Code: Select all

/*
$(OGRE_HOME)\include\;$(OGRE_HOME)\include\OIS\;$(OGRE_HOME)\include\OGRE\;$(OGRE_HOME)\include\OGRE\Overlay\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui\include\cegui-0\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\include\
$(OGRE_HOME)\lib\$(Configuration);C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui\lib\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\lib\dynamic\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\lib\static\

OgreMain_d.lib
OIS_d.lib
OgreOverlay_d.lib
CEGUIBase-0_d.lib
CEGUIOgreRenderer-0_d.lib

OgreMain.lib
OIS.lib
OgreOverlay.lib
CEGUIBase-0.lib
CEGUIOgreRenderer-0.lib
*/

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif

#include <OgreRoot.h>
#include <OgreFrameListener.h>
#include <OgreLogManager.h>
#include <OgreSceneNode.h>
#include <OgreEntity.h>
#include <OgreCamera.h>
#include <OgreRenderWindow.h>
#include <OgreViewport.h>
#include <OgreTextureManager.h>
#include <OgreWindowEventUtilities.h>
#include <OISEvents.h>
#include <OISInputManager.h>
#include <OISKeyboard.h>
#include <OISMouse.h>

#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/Ogre/Renderer.h>

//--------------------------------------------------------[ Clean CEGUI App ]---//
typedef struct{   /* For moving between App and AppListener */
   Ogre::Root* ogre_root;
   Ogre::RenderWindow *ogre_win;
   OIS::ParamList *ois_pl;
   CEGUI::OgreRenderer *cegui_renderer;
} AppPak;

class AppListener : public Ogre::FrameListener, public Ogre::WindowEventListener, public OIS::KeyListener, public OIS::MouseListener{
public:
   AppListener(AppPak *new_app_pak) :keep_running(true){
      app_pak = new_app_pak;

      ois_input_man = OIS::InputManager::createInputSystem(*app_pak->ois_pl);
      ois_kb = static_cast<OIS::Keyboard*>(ois_input_man->createInputObject(OIS::OISKeyboard, true));
      ois_mouse = static_cast<OIS::Mouse*>(ois_input_man->createInputObject(OIS::OISMouse, true));
      ois_kb->setEventCallback(this);
      ois_mouse->setEventCallback(this);

      windowResized(app_pak->ogre_win);
   }
   ~AppListener(){
      OIS::InputManager::destroyInputSystem(ois_input_man);
   }

   // --- Ogre::FrameListener Callbacks ---------------------------//
   bool frameRenderingQueued(const Ogre::FrameEvent& evt){
      Ogre::WindowEventUtilities::messagePump();
      CEGUI::System::getSingleton().injectTimePulse((float)evt.timeSinceLastFrame);
      ois_kb->capture();
      ois_mouse->capture();
      return keep_running;
   }

   // --- OIS::KeyListener and OIS::MouseListener Callbacks -------//
   bool keyPressed(const OIS::KeyEvent &arg){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyDown((CEGUI::Key::Scan)arg.key);
      CEGUI::System::getSingleton().getDefaultGUIContext().injectChar((CEGUI::Key::Scan)arg.text);

      if (arg.key == OIS::KC_ESCAPE){ keep_running = false; }
      if (arg.key == OIS::KC_1){ CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setPosition(CEGUI::Vector2f(1, 1)); }      // Does nothing
      if (arg.key == OIS::KC_2){ CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setPosition(CEGUI::Vector2f(10, 10)); }   // Does nothing
      if (arg.key == OIS::KC_3){ CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setPosition(CEGUI::Vector2f(20, 20)); }   // Does nothing
      return true;
   }
   bool keyReleased(const OIS::KeyEvent &arg){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyUp((CEGUI::Key::Scan)arg.key);
      return true;
   }
   bool mouseMoved(const OIS::MouseEvent &arg){
      // Confirmed that mouseMoved() is being called
      //std::ostringstream mousemove_msg; mousemove_msg << "*** AppListener::mouseMoved(): x:" << arg.state.X.rel << " y:" << arg.state.Y.rel;
      //Ogre::LogManager::getSingletonPtr()->logMessage(mousemove_msg.str());

      // This should change the position of my mouse cursor
      CEGUI::GUIContext &context = CEGUI::System::getSingleton().getDefaultGUIContext();
      context.injectMouseMove((float)arg.state.X.rel, (float)arg.state.Y.rel);
      //context.getMouseCursor().setPosition(CEGUI::Vector2f(arg.state.X.rel,arg.state.Y.rel));      // Doesn't do anything

      return true;
   }
   bool mousePressed(const OIS::MouseEvent &arg, OIS::MouseButtonID id){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonDown(convertButton(id));
      return true;
   }
   bool mouseReleased(const OIS::MouseEvent &arg, OIS::MouseButtonID id){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonUp(convertButton(id));
      return true;
   }

   // --- Ogre::WindowEventListener Callbacks ---------------------//
   void windowResized(Ogre::RenderWindow* rw){
      unsigned int width, height, depth;
      int left, top;
      app_pak->ogre_win->getMetrics(width, height, depth, left, top);

      const OIS::MouseState &ms = ois_mouse->getMouseState();
      ms.width = width;
      ms.height = height;
   }
   void windowClosed(Ogre::RenderWindow* rw){
      if (rw == app_pak->ogre_win){
         if (ois_input_man){
            ois_input_man->destroyInputObject(ois_mouse);
            ois_input_man->destroyInputObject(ois_kb);

            OIS::InputManager::destroyInputSystem(ois_input_man);
            ois_input_man = 0;
         }
      }
   }

   // Convert OIS MouseButton event to CEGUI MouseButton event
   CEGUI::MouseButton convertButton(OIS::MouseButtonID buttonID) {
      switch (buttonID) {
      case OIS::MB_Left:
         return CEGUI::LeftButton;
      case OIS::MB_Right:
         return CEGUI::RightButton;
      case OIS::MB_Middle:
         return CEGUI::MiddleButton;
      default:
         return CEGUI::LeftButton;
      }
   }

private:
   AppPak *app_pak;
   bool keep_running;

   OIS::InputManager *ois_input_man;
   OIS::Mouse *ois_mouse;
   OIS::Keyboard *ois_kb;
};

class App{
public:
   void go(){   /* Entry Point Called by main() */
      Setup();
      SetupGUIContext();
      app_pak.ogre_root->startRendering();
      DestroyGUIContext();
      Shutdown();
   }
private:
   void Setup(){   /* Here we set up the basic libs of Ogre, OIS, and CEGUI */
      // --- Init Ogre --- //
      app_pak.ogre_root = new Ogre::Root("", "", "Ogre.log");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media", "FileSystem", "General");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/imagesets/", "FileSystem", "imagesets");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/schemes/", "FileSystem", "schemes");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/fonts/", "FileSystem", "fonts");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/looknfeel/", "FileSystem", "looknfeel");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/layouts/", "FileSystem", "layouts");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/lua_scripts/", "FileSystem", "lua_scripts");

#ifdef _DEBUG
      app_pak.ogre_root->loadPlugin(Ogre::String("RenderSystem_GL_d"));
      app_pak.ogre_root->loadPlugin(Ogre::String("Plugin_OctreeSceneManager_d"));
#else
      app_pak.ogre_root->loadPlugin("RenderSystem_GL");
      app_pak.ogre_root->loadPlugin("Plugin_OctreeSceneManager");
#endif;

      Ogre::RenderSystem* rs = app_pak.ogre_root->getRenderSystemByName("OpenGL Rendering Subsystem");
      if (!(rs->getName() == "OpenGL Rendering Subsystem")){ return; }
      rs->setConfigOption("Full Screen", "No");
      rs->setConfigOption("VSync", "No");
      rs->setConfigOption("Video Mode", "400 x 300 @ 32-bit");
      app_pak.ogre_root->setRenderSystem(rs);

      app_pak.ogre_win = app_pak.ogre_root->initialise(true, "Clean CEGUI Window");

      //---------[ Cursor motion problem persists regardless of creating these. ]---------//
      // --- Ogre Scene Manager --- //
      Ogre::SceneManager *scene_man = app_pak.ogre_root->createSceneManager("OctreeSceneManager", "DefaultSceneManager");

      // --- Camera --- //
      Ogre::Camera *main_cam = scene_man->createCamera("MainCam");
      main_cam->setPosition(Ogre::Vector3(40, 20, 80));
      main_cam->lookAt(Ogre::Vector3(0, 0, 0));
      main_cam->setNearClipDistance(5);

      // --- Viewport --- //
      Ogre::Viewport* vp = app_pak.ogre_win->addViewport(main_cam);
      vp->setBackgroundColour(Ogre::ColourValue(17.f / 255.f, 17.f / 255.f, 17.f / 255.f));
      main_cam->setAspectRatio(Ogre::Real(vp->getActualWidth()) / Ogre::Real(vp->getActualHeight()));

      Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5);
      Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
      //----------------------------------------[|]----------------------------------------//

      // --- Init OIS --- //
      Ogre::LogManager::getSingletonPtr()->logMessage("*** Initializing OIS ***");
      size_t windowHnd = 0;
      std::ostringstream windowHndStr;
      app_pak.ogre_win->getCustomAttribute("WINDOW", &windowHnd);
      windowHndStr << windowHnd;
      app_pak.ois_pl = new OIS::ParamList();
      app_pak.ois_pl->insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));

      // --- Init CEGUI --- //
      Ogre::LogManager::getSingletonPtr()->logMessage("*** Initializing CEGUI ***");
      app_pak.cegui_renderer = &CEGUI::OgreRenderer::bootstrapSystem();
      CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);

      CEGUI::ImageManager::setImagesetDefaultResourceGroup("imagesets");
      CEGUI::Scheme::setDefaultResourceGroup("schemes");
      CEGUI::Font::setDefaultResourceGroup("fonts");
      CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeel");
      CEGUI::WindowManager::setDefaultResourceGroup("layouts");
      CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");

      // Listeners
      app_listener = new AppListener(&app_pak);
      app_pak.ogre_root->addFrameListener(app_listener);
      Ogre::WindowEventUtilities::addWindowEventListener(app_pak.ogre_win, app_listener);
      app_listener->windowResized(app_pak.ogre_win);   // hack to set tell mouse about window size

   }
   void Shutdown(){   /* Shutdown Ogre, OIS, and CEGUI */
      app_pak.ogre_root->getAutoCreatedWindow()->removeAllViewports();
      Ogre::WindowEventUtilities::removeWindowEventListener(app_pak.ogre_win, app_listener);
      app_listener->windowClosed(app_pak.ogre_win);
      app_pak.ogre_root->removeFrameListener( app_listener );
      delete app_listener;

      delete app_pak.ogre_root;
      delete app_pak.ois_pl;
   }
   void SetupGUIContext(){
      // --- Setup GUI Context --- //
      gui_context = &CEGUI::System::getSingleton().createGUIContext(app_pak.cegui_renderer->getDefaultRenderTarget());
      CEGUI::SchemeManager::getSingleton().createFromFile("AlfiskoSkin.scheme");
      CEGUI::FontManager::getSingleton().createFromFile("DejaVuSans-12.font");
      gui_context->setDefaultFont("DejaVuSans-12");
      //gui_context->setDefaultTooltipType("TaharezLook/Tooltip");

      // cursor display hack
      gui_context->getMouseCursor().setDefaultImage("AlfiskoSkin/MouseArrow");
      gui_context->getMouseCursor().setImage(gui_context->getMouseCursor().getDefaultImage());   // Must do this to display the cursor!
      //gui_context->getMouseCursor().setImage("AlfiskoSkin/MouseArrow");                     // ...or this...
      //gui_context->getMouseCursor().show();                                          // Only important to bring cursor back from hide()
      

      // --- Other stuff I tried to get cursor to display --- //
      //CEGUI::Sizef my_size(800, 600);
      //CEGUI::System::getSingleton().notifyDisplaySizeChanged(CEGUI::Sizef(800, 600));
      //gui_context->setMouseClickEventGenerationEnabled(true);
      //gui_context->updateWindowContainingMouse();
      //gui_context->getMouseCursor().setImage(gui_context->getMouseCursor().getDefaultImage());
      //gui_context->getMouseCursor().setPosition(CEGUI::Vector2f(2, 2));
      //gui_context->injectMousePosition(0.5f, 0.5f);
      //gui_context->getMouseCursor().setVisible(true);

      // --- Setup Root Win --- //
      ui_root_win = CEGUI::WindowManager::getSingleton().createWindow("DefaultWindow", "root");
      gui_context->setRootWindow(ui_root_win);

      // --- Setup UI Button --- //
      CEGUI::PushButton *ui_button = static_cast<CEGUI::PushButton*>(CEGUI::WindowManager::getSingleton().createWindow("AlfiskoSkin/Button", "UITestButton"));
      ui_root_win->addChild(ui_button);
      ui_button->setPosition(CEGUI::UVector2(CEGUI::UDim(0.1f, 0), CEGUI::UDim(0.1f, 0)));
      ui_button->setSize(CEGUI::USize(CEGUI::UDim(0.25f, 0), CEGUI::UDim(0.03f, 0)));
      ui_button->setText("UI Button");

   }
   void DestroyGUIContext(){
      CEGUI::WindowManager::getSingleton().destroyWindow(ui_root_win);
      CEGUI::System::getSingleton().destroyGUIContext(*gui_context);
   }

   AppPak app_pak;
   AppListener *app_listener;

   CEGUI::GUIContext *gui_context;
   CEGUI::Window *ui_root_win;
};

//-------------------------------------------------------------------[ Init ]---//
std::wstring s2ws(const std::string& s){
   int len;
   int slength = (int)s.length() + 1;
   len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, 0, 0);
   wchar_t* buf = new wchar_t[len];
   MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, buf, len);
   std::wstring r(buf);
   delete[] buf;
   return r;
}

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT){
#else
int main(int argc, char *argv[]){
#endif
   App my_app;

   try {
      my_app.go();
   }
   catch (Ogre::Exception& e){
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
      std::wstring stemp1 = s2ws("Stoopid Ogre exception has occurred!");
      std::wstring stemp2 = s2ws(e.getFullDescription().c_str());

      LPCWSTR title = stemp1.c_str();
      LPCWSTR error_desc = stemp2.c_str();
      MessageBox(NULL, error_desc, title, MB_OK | MB_ICONERROR | MB_TASKMODAL);
#else
      std::cerr << "Stoopid Ogre exception has occurred: " << e.getFullDescription().c_str() << std::endl;
#endif
   }

   return 0;
}


This is my CEGUI.log:

Code: Select all

27/02/2016 01:28:56 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27/02/2016 01:28:56 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
27/02/2016 01:28:56 (Std)    +                          (http://www.cegui.org.uk/)                         +
27/02/2016 01:28:56 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

27/02/2016 01:28:56 (Std)    CEGUI::Logger singleton created. (0000000006136590)
27/02/2016 01:28:56 (Std)    
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    * Important:                                                                   *
27/02/2016 01:28:56 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
27/02/2016 01:28:56 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
27/02/2016 01:28:56 (Std)    *     support being given; please do not waste our time.                       *
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    ---- Version: 0.8.4 (Build: Feb 26 2016 Debug Microsoft Windows MSVC++ 12.0 (2013) 64 bit) ----
27/02/2016 01:28:56 (Std)    ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
27/02/2016 01:28:56 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
27/02/2016 01:28:56 (Std)    ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
27/02/2016 01:28:56 (Std)    ---- Scripting module is: None ----
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
27/02/2016 01:28:56 (Std)    ********************************************************************************
27/02/2016 01:28:56 (Std)    
27/02/2016 01:28:56 (Std)    ---- Begining CEGUI System initialisation ----
27/02/2016 01:28:56 (Std)    [CEGUI::ImageManager] Singleton created (0000000006136240)
27/02/2016 01:28:56 (Std)    [CEGUI::ImageManager] Registered Image type: BasicImage
27/02/2016 01:28:56 (Std)    CEGUI::FontManager singleton created. (00000000034AF510)
27/02/2016 01:28:56 (Std)    CEGUI::WindowFactoryManager singleton created
27/02/2016 01:28:56 (Std)    CEGUI::WindowManager singleton created (00000000034AE970)
27/02/2016 01:28:56 (Std)    CEGUI::SchemeManager singleton created. (00000000034AEFB0)
27/02/2016 01:28:56 (Std)    CEGUI::GlobalEventSet singleton created. (00000000034AEEE0)
27/02/2016 01:28:56 (Std)    CEGUI::AnimationManager singleton created (00000000034ABF10)
27/02/2016 01:28:56 (Std)    CEGUI::WidgetLookManager singleton created. (00000000034ACF60)
27/02/2016 01:28:56 (Std)    CEGUI::WindowRendererManager singleton created (00000000034ABE40)
27/02/2016 01:28:56 (Std)    CEGUI::RenderEffectManager singleton created (00000000061331E0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'DefaultWindow' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'DefaultWindow' windows added. (00000000034A2F70)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'DragContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'DragContainer' windows added. (00000000034A3370)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'ScrolledContainer' windows added. (00000000034A36A0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'ClippedContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'ClippedContainer' windows added. (00000000034A3A00)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (00000000034A3C60)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (00000000034A3EC0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (00000000034A4120)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (00000000034A4380)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (00000000034A45E0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (00000000034A4840)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (00000000034A4AA0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (00000000034A4D00)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (00000000034A4F60)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (00000000034A51C0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (00000000034A5520)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (00000000034A5780)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (00000000034A59E0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (00000000034A5C40)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (00000000034A5EA0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (00000000034A6250)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (00000000034A6600)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (00000000034A6860)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (00000000034A6AC0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (00000000034A6D20)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (00000000034A6F80)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (00000000034A71E0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (00000000034A7440)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (00000000034A76A0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ToggleButton' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ToggleButton' windows added. (00000000034A7900)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (00000000034A64B0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (00000000034A7E60)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (00000000034A80C0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (00000000034A8320)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'LayoutCell' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'LayoutCell' windows added. (00000000034A8580)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (00000000034A87E0)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (00000000034A8A40)
27/02/2016 01:28:56 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
27/02/2016 01:28:56 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (00000000034A8CA0)
27/02/2016 01:28:56 (Std)    CEGUI::System singleton created. (0000000006135D00)
27/02/2016 01:28:56 (Std)    ---- CEGUI System initialisation completed ----
27/02/2016 01:28:56 (Std)    
27/02/2016 01:28:56 (Std)    Started creation of Scheme from XML specification:
27/02/2016 01:28:56 (Std)    ---- CEGUI GUIScheme name: AlfiskoSkin
27/02/2016 01:28:56 (Info)    Finished creation of GUIScheme 'AlfiskoSkin' via XML file. (000000000614DD20)
27/02/2016 01:28:56 (Info)    ---- Begining resource loading for GUI scheme 'AlfiskoSkin' ----
27/02/2016 01:28:56 (Std)    [ImageManager] Started creation of Imageset from XML specification:
27/02/2016 01:28:56 (Std)    [ImageManager] ---- CEGUI Imageset name: AlfiskoSkin
27/02/2016 01:28:56 (Std)    [ImageManager] ---- Source texture file: AlfiskoSkin.png
27/02/2016 01:28:56 (Std)    [ImageManager] ---- Source texture resource group: (Default)
27/02/2016 01:28:56 (Std)    [OgreRenderer] Created texture: AlfiskoSkin
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowB' (00000000061611F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowL' (00000000061617E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowR' (0000000006161B50) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowT' (0000000006154DC0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxB' (00000000061620B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxL' (000000000614BEB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxR' (0000000006162570) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxT' (00000000061552F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowBL' (0000000006162A30) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowBR' (00000000061569F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowTL' (0000000006163250) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowTR' (0000000006163520) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxBL' (00000000061637F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxBR' (0000000006163BC0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxTL' (0000000006163E90) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxTR' (0000000006164160) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/MouseMove' (0000000006164430) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/MouseNeSw' (0000000006164700) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/NewImage1' (00000000061649D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/MouseArrow' (0000000006164CA0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowFill' (0000000006164F70) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/EditboxFill' (0000000006165240) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowClipB' (0000000006165510) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowClipL' (00000000061657E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowClipR' (0000000006165AB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/WindowClipT' (0000000006165D80) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverB' (0000000006166050) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverL' (0000000006166320) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverR' (00000000061665F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverT' (00000000061668C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/GenericBrush' (0000000006166B90) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/MouseTextBar' (0000000006166E60) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverBL' (0000000006167130) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverBR' (0000000006167400) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverTL' (00000000061676D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverTR' (00000000061679A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalB' (0000000006167C70) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalL' (0000000006167F40) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalR' (0000000006168210) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalT' (00000000061684E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedB' (00000000061687B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedL' (0000000006168A80) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedR' (0000000006168D50) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedT' (0000000006169020) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/CheckboxHover' (00000000061692F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullB' (00000000061695C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullL' (0000000006169890) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullR' (0000000006169B60) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullT' (0000000006169E30) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollUpHover' (000000000616A100) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalBL' (000000000616A3D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalBR' (000000000616A6A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalTL' (000000000616A970) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalTR' (000000000616AC40) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedBL' (000000000616AF10) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedBR' (000000000616B1E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedTL' (000000000616B4B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedTR' (000000000616B780) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/CheckboxNormal' (000000000616BA50) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzScrollbarB' (000000000616BD20) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzScrollbarT' (000000000616BFF0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyB' (000000000616C2C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyL' (000000000616C590) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyR' (000000000616C860) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyT' (000000000616CB30) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullBL' (000000000616CE00) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullBR' (000000000616D0D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullTL' (000000000616D3A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullTR' (000000000616D670) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressShadow' (000000000616D940) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollUpNormal' (000000000616DC10) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollUpPushed' (000000000616DEE0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarDummy1' (000000000616E1B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertScrollbarL' (000000000616E480) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertScrollbarR' (000000000616E750) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/CheckboxChecked' (000000000616EA20) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverB' (000000000616ECF0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverT' (000000000616EFC0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyBL' (000000000616F290) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyBR' (000000000616F560) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyTL' (000000000616F830) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyTR' (000000000616FB00) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollDownHover' (000000000616FDD0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollLeftHover' (00000000061700A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveB' (0000000006170370) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveL' (0000000006170640) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveR' (0000000006170910) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveT' (0000000006170BE0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverL' (0000000006170EB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverR' (0000000006171180) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverFill1' (0000000006171450) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonHoverFill2' (0000000006171720) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderTrackL' (00000000061719F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderTrackR' (0000000006171CC0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverBL' (0000000006171F90) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverBR' (0000000006172260) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverTL' (0000000006172530) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbHoverTR' (0000000006172800) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalB' (0000000006172AD0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalT' (0000000006172DA0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedB' (0000000006173070) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedT' (0000000006173340) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbShadowL' (0000000006173610) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbShadowR' (00000000061738E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressFullFill' (0000000006173BB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/RadioButtonHover' (0000000006173E80) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollDownNormal' (0000000006174150) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollDownPushed' (0000000006174420) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollLeftNormal' (00000000061746F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollLeftPushed' (00000000061749C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollRightHover' (0000000006174C90) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveBL' (0000000006174F60) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveBR' (0000000006175230) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveTL' (0000000006175500) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveTR' (00000000061757D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderTrackB' (0000000006175AA0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderTrackT' (0000000006175D70) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverBL' (0000000006176040) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverBR' (0000000006176310) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverTL' (00000000061765E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbHoverTR' (00000000061768B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalL' (0000000006176B80) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalR' (0000000006176E50) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedL' (0000000006177120) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedR' (00000000061773F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbShadowB' (00000000061776C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbShadowT' (0000000006177990) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalFill1' (0000000006177C60) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonNormalFill2' (0000000006177F30) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedFill1' (0000000006178200) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ButtonPushedFill2' (00000000061784D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/CloseButtonNormal' (00000000061787A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/CloseButtonPushed' (0000000006178A70) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderShadowL' (0000000006178D40) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderShadowR' (0000000006179010) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalBL' (00000000061792E0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalBR' (00000000061795B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalTL' (0000000006179880) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbNormalTR' (0000000006179B50) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedBL' (0000000006179E20) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedBR' (000000000617A0F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedTL' (000000000617A3C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzThumbPushedTR' (000000000617A690) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ProgressEmptyFill' (000000000617A960) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/RadioButtonNormal' (000000000617AC30) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollRightNormal' (000000000617AF00) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/ScrollRightPushed' (000000000617B1D0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveB' (000000000617B4A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveL' (000000000617B770) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveR' (000000000617BA40) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveT' (000000000617BD10) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderShadowB' (000000000617BFE0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderShadowT' (000000000617C2B0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalBL' (000000000617C580) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalBR' (000000000617C850) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalTL' (000000000617CB20) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbNormalTR' (000000000617CDF0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedBL' (000000000617D0C0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedBR' (000000000617D390) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedTL' (000000000617D660) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertThumbPushedTR' (000000000617D930) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzScrollbarFill1' (000000000617DC00) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzScrollbarFill2' (000000000617DED0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/RadioButtonChecked' (000000000617E1A0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveBL' (000000000617E470) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveBR' (000000000617E740) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveTL' (000000000617EA10) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveTR' (000000000617ECE0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertScrollbarFill1' (000000000617EFB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertScrollbarFill2' (000000000617F280) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderTrackFill' (000000000617F550) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveFill1' (000000000617F820) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarActiveFill2' (000000000617FAF0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderTrackFill' (000000000617FDC0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderThumbHover' (0000000006180280) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderThumbHover' (000000000614C370) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderThumbNormal' (00000000061809F0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/HorzSliderThumbPushed' (0000000006180EA0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveFill1' (0000000006181350) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/TitlebarInactiveFill2' (0000000006181800) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderThumbNormal' (0000000006181CB0) of type: BasicImage
27/02/2016 01:28:56 (Std)    [ImageManager] Created image: 'AlfiskoSkin/VertSliderThumbPushed' (0000000006182160) of type: BasicImage
27/02/2016 01:28:56 (Info)    Successfully loaded 5633 glyphs
27/02/2016 01:28:56 (Info)    Finished creation of Font 'DejaVuSans-12' via XML file. (0000000006148410)
27/02/2016 01:28:56 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/Label'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/Label'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/Button'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/Button'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/ImageButton'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/ImageButton'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/RadioButton'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/RadioButton'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/Checkbox'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/Checkbox'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/Titlebar'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/Titlebar'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/FrameWindow'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/FrameWindow'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/Editbox'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/Editbox'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/HorizontalScrollbarThumb'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/HorizontalScrollbarThumb'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/HorizontalScrollbar'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/HorizontalScrollbar'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/VerticalScrollbarThumb'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/VerticalScrollbarThumb'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/VerticalScrollbar'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/VerticalScrollbar'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/MultiLineEditbox'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/MultiLineEditbox'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/ProgressBar'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/ProgressBar'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/HorizontalSliderThumb'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/HorizontalSliderThumb'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/HorizontalSlider'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/HorizontalSlider'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/VerticalSliderThumb'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/VerticalSliderThumb'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/VerticalSlider'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/VerticalSlider'.
27/02/2016 01:28:56 (Info)    ---> Start of definition for widget look 'AlfiskoSkin/MenuItem'.
27/02/2016 01:28:56 (Info)    ---< End of definition for widget look 'AlfiskoSkin/MenuItem'.
27/02/2016 01:28:56 (Std)    ===== Look and feel parsing completed =====
27/02/2016 01:28:56 (Std)    No window renderer factories specified for module 'CEGUICoreWindowRendererSet' - adding all available factories...
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Button' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Button' added. (000000000614EFA0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Default' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Default' added. (000000000614F0C0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Editbox' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Editbox' added. (0000000006154960)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/FrameWindow' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/FrameWindow' added. (0000000006154BC0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ItemEntry' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ItemEntry' added. (0000000006161E10)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ListHeader' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ListHeader' added. (0000000006356B20)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ListHeaderSegment' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ListHeaderSegment' added. (0000000006356D80)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Listbox' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Listbox' added. (0000000006147EE0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Menubar' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Menubar' added. (000000000635B310)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/MenuItem' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/MenuItem' added. (000000000635B570)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/MultiColumnList' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/MultiColumnList' added. (0000000006386CC0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/MultiLineEditbox' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/MultiLineEditbox' added. (0000000006386F20)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/PopupMenu' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/PopupMenu' added. (000000000635AC40)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ProgressBar' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ProgressBar' added. (000000000635AEA0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ScrollablePane' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ScrollablePane' added. (000000000635B100)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Scrollbar' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Scrollbar' added. (000000000635D0E0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Slider' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Slider' added. (000000000635D340)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Static' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Static' added. (0000000006363F20)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/StaticImage' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/StaticImage' added. (0000000006364180)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/StaticText' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/StaticText' added. (00000000063643E0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/TabButton' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/TabButton' added. (00000000064154B0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/TabControl' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/TabControl' added. (0000000006415710)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Titlebar' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Titlebar' added. (0000000006380A10)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ToggleButton' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ToggleButton' added. (0000000006380C70)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Tooltip' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Tooltip' added. (00000000064348E0)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/ItemListbox' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/ItemListbox' added. (0000000006434B40)
27/02/2016 01:28:56 (Std)    Created WindowRendererFactory for 'Core/Tree' WindowRenderers.
27/02/2016 01:28:56 (Std)    WindowRendererFactory 'Core/Tree' added. (0000000006434DA0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Label' using base type 'DefaultWindow', window renderer 'Core/Default' Look'N'Feel 'AlfiskoSkin/Label' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Button' using base type 'CEGUI/PushButton', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/Button' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/ImageButton' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Core/ToggleButton' Look'N'Feel 'AlfiskoSkin/RadioButton' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Checkbox' using base type 'CEGUI/ToggleButton', window renderer 'Core/ToggleButton' Look'N'Feel 'AlfiskoSkin/Checkbox' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Core/Titlebar' Look'N'Feel 'AlfiskoSkin/Titlebar' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Core/FrameWindow' Look'N'Feel 'AlfiskoSkin/FrameWindow' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Editbox' using base type 'CEGUI/Editbox', window renderer 'Core/Editbox' Look'N'Feel 'AlfiskoSkin/Editbox' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/VerticalScrollbarThumb' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Core/Scrollbar' Look'N'Feel 'AlfiskoSkin/VerticalScrollbar' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/HorizontalScrollbarThumb' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Core/Scrollbar' Look'N'Feel 'AlfiskoSkin/HorizontalScrollbar' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Core/MultiLineEditbox' Look'N'Feel 'AlfiskoSkin/MultiLineEditbox' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Core/ProgressBar' Look'N'Feel 'AlfiskoSkin/ProgressBar' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalSliderThumb' using base type 'CEGUI/Thumb', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/HorizontalSliderThumb' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalSlider' using base type 'CEGUI/Slider', window renderer 'Core/Slider' Look'N'Feel 'AlfiskoSkin/HorizontalSlider' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalSliderThumb' using base type 'CEGUI/Thumb', window renderer 'Core/Button' Look'N'Feel 'AlfiskoSkin/VerticalSliderThumb' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalSlider' using base type 'CEGUI/Slider', window renderer 'Core/Slider' Look'N'Feel 'AlfiskoSkin/VerticalSlider' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Std)    Creating falagard mapping for type 'AlfiskoSkin/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Core/MenuItem' Look'N'Feel 'AlfiskoSkin/MenuItem' and RenderEffect ''. (000000000016BAB0)
27/02/2016 01:28:56 (Info)    ---- Resource loading for GUI scheme 'AlfiskoSkin' completed ----
27/02/2016 01:28:57 (Info)    Successfully loaded 5633 glyphs
27/02/2016 01:28:57 (Info)    Finished creation of Font 'DejaVuSans-12' via XML file. (0000000006422680)
27/02/2016 01:28:57 (Std)    ---- Returning existing instance of Font named 'DejaVuSans-12'.
27/02/2016 01:28:57 (Info)    Window 'root' of type 'DefaultWindow' has been created. (0000000006316920)
27/02/2016 01:28:57 (Info)    Window 'UITestButton' of type 'AlfiskoSkin/Button' has been created. (000000000658A170)
27/02/2016 01:28:57 (Info)    Assigning the window renderer 'Core/Button' to the window 'UITestButton'
27/02/2016 01:28:57 (Info)    Assigning LookNFeel 'AlfiskoSkin/Button' to window 'UITestButton'.
27/02/2016 01:28:57 (Std)    [OgreRenderer] Created texture: DejaVuSans-12_auto_glyph_images_32
27/02/2016 01:29:08 (Info)    Window at 'root' will be added to dead pool. (000000000016FAC8)
27/02/2016 01:29:08 (Info)    Window at 'UITestButton' will be added to dead pool. (000000000016F318)


Below is Ogre.log, should it become relevant:

Code: Select all

01:28:54: Creating resource group General
01:28:54: Creating resource group Internal
01:28:54: Creating resource group Autodetect
01:28:54: SceneManagerFactory for type 'DefaultSceneManager' registered.
01:28:54: Registering ResourceManager for type Material
01:28:54: Registering ResourceManager for type Mesh
01:28:54: Registering ResourceManager for type Skeleton
01:28:54: MovableObjectFactory for type 'ParticleSystem' registered.
01:28:54: ArchiveFactory for archive type FileSystem registered.
01:28:54: ArchiveFactory for archive type Zip registered.
01:28:54: ArchiveFactory for archive type EmbeddedZip registered.
01:28:54: DDS codec registering
01:28:54: FreeImage version: 3.15.3
01:28:54: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
01:28:54: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic
01:28:54: Registering ResourceManager for type HighLevelGpuProgram
01:28:54: Registering ResourceManager for type Compositor
01:28:54: MovableObjectFactory for type 'Entity' registered.
01:28:54: MovableObjectFactory for type 'Light' registered.
01:28:54: MovableObjectFactory for type 'BillboardSet' registered.
01:28:54: MovableObjectFactory for type 'ManualObject' registered.
01:28:54: MovableObjectFactory for type 'BillboardChain' registered.
01:28:54: MovableObjectFactory for type 'RibbonTrail' registered.
01:28:54: *-*-* OGRE Initialising
01:28:54: *-*-* Version 1.10.0unstable (Xalafu)
01:28:54: Added resource location './media' of type 'FileSystem' to resource group 'General'
01:28:54: Creating resource group imagesets
01:28:54: Added resource location './media/CEGUI/imagesets/' of type 'FileSystem' to resource group 'imagesets'
01:28:54: Creating resource group schemes
01:28:54: Added resource location './media/CEGUI/schemes/' of type 'FileSystem' to resource group 'schemes'
01:28:54: Creating resource group fonts
01:28:54: Added resource location './media/CEGUI/fonts/' of type 'FileSystem' to resource group 'fonts'
01:28:54: Creating resource group looknfeel
01:28:54: Added resource location './media/CEGUI/looknfeel/' of type 'FileSystem' to resource group 'looknfeel'
01:28:54: Creating resource group layouts
01:28:54: Added resource location './media/CEGUI/layouts/' of type 'FileSystem' to resource group 'layouts'
01:28:54: Creating resource group lua_scripts
01:28:54: Added resource location './media/CEGUI/lua_scripts/' of type 'FileSystem' to resource group 'lua_scripts'
01:28:54: Loading library RenderSystem_GL_d
01:28:54: Installing plugin: GL RenderSystem
01:28:54: OpenGL Rendering Subsystem created.
01:28:54: Plugin successfully installed
01:28:54: Loading library Plugin_OctreeSceneManager_d
01:28:54: Installing plugin: Octree Scene Manager
01:28:54: Plugin successfully installed
01:28:54: CPU Identifier & Features
01:28:54: -------------------------
01:28:54:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
01:28:54:  *      SSE: yes
01:28:54:  *     SSE2: yes
01:28:54:  *     SSE3: yes
01:28:54:  *      MMX: yes
01:28:54:  *   MMXEXT: yes
01:28:54:  *    3DNOW: no
01:28:54:  * 3DNOWEXT: no
01:28:54:  *     CMOV: yes
01:28:54:  *      TSC: yes
01:28:54:  *      FPU: yes
01:28:54:  *      PRO: yes
01:28:54:  *       HT: no
01:28:54: -------------------------
01:28:54: *** Starting Win32GL Subsystem ***
01:28:54: Registering ResourceManager for type Texture
01:28:54: GLRenderSystem::_createRenderWindow "Clean CEGUI Window", 400x300 windowed  miscParams: FSAA=0 FSAAHint= colourDepth=32 displayFrequency=0 gamma=false vsync=false vsyncInterval=1
01:28:54: Created Win32Window 'Clean CEGUI Window' : 416x338, 32bpp
01:28:54: GL_VERSION = 4.5.0 NVIDIA 361.91
01:28:54: GL_VENDOR = NVIDIA Corporation
01:28:54: GL_RENDERER = GeForce GTX 750 Ti/PCIe/SSE2
01:28:54: GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NV_blend_square GL_NV_command_list GL_NV_compute_program5 GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_NVX_nvenc_interop GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
01:28:54: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle
01:28:54: ***************************
01:28:54: *** GL Renderer Started ***
01:28:54: ***************************
01:28:54: Registering ResourceManager for type GpuProgram
01:28:54: GLSL support detected
01:28:54: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
01:28:55: FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_L8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A4L4 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:55: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:56: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
01:28:56: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
01:28:56: RenderSystem capabilities
01:28:56: -------------------------
01:28:56: RenderSystem Name: OpenGL Rendering Subsystem
01:28:56: GPU Vendor: nvidia
01:28:56: Device Name: GeForce GTX 750 Ti/PCIe/SSE2
01:28:56: Driver Version: 4.5.0.0
01:28:56:  * Fixed function pipeline: yes
01:28:56:  * Hardware generation of mipmaps: yes
01:28:56:  * Texture blending: yes
01:28:56:  * Anisotropic texture filtering: yes
01:28:56:  * Dot product texture operation: yes
01:28:56:  * Cube mapping: yes
01:28:56:  * Hardware stencil buffer: yes
01:28:56:    - Stencil depth: 8
01:28:56:    - Two sided stencil support: yes
01:28:56:    - Wrap stencil values: yes
01:28:56:  * Hardware vertex / index buffers: yes
01:28:56:  * 32-bit index buffers: yes
01:28:56:  * Vertex programs: yes
01:28:56:  * Number of floating-point constants for vertex programs: 1024
01:28:56:  * Number of integer constants for vertex programs: 0
01:28:56:  * Number of boolean constants for vertex programs: 0
01:28:56:  * Fragment programs: yes
01:28:56:  * Number of floating-point constants for fragment programs: 1024
01:28:56:  * Number of integer constants for fragment programs: 0
01:28:56:  * Number of boolean constants for fragment programs: 0
01:28:56:  * Geometry programs: yes
01:28:56:  * Number of floating-point constants for geometry programs: 2048
01:28:56:  * Number of integer constants for geometry programs: 0
01:28:56:  * Number of boolean constants for geometry programs: 0
01:28:56:  * Tessellation Hull programs: no
01:28:56:  * Number of floating-point constants for tessellation hull programs: 52685
01:28:56:  * Number of integer constants for tessellation hull programs: 52685
01:28:56:  * Number of boolean constants for tessellation hull programs: 52685
01:28:56:  * Tessellation Domain programs: no
01:28:56:  * Number of floating-point constants for tessellation domain programs: 52685
01:28:56:  * Number of integer constants for tessellation domain programs: 52685
01:28:56:  * Number of boolean constants for tessellation domain programs: 52685
01:28:56:  * Compute programs: no
01:28:56:  * Number of floating-point constants for compute programs: 52685
01:28:56:  * Number of integer constants for compute programs: 52685
01:28:56:  * Number of boolean constants for compute programs: 52685
01:28:56:  * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl glsl100 glsl110 glsl120 gp4fp gp4gp gp4vp gpu_fp gpu_gp gpu_vp nvgp4 vp30 vp40
01:28:56:  * Texture Compression: yes
01:28:56:    - DXT: yes
01:28:56:    - VTC: yes
01:28:56:    - PVRTC: no
01:28:56:    - ATC: no
01:28:56:    - ETC1: no
01:28:56:    - ETC2: no
01:28:56:    - BC4/BC5: no
01:28:56:    - BC6H/BC7: no
01:28:56:  * Scissor Rectangle: yes
01:28:56:  * Hardware Occlusion Query: yes
01:28:56:  * User clip planes: yes
01:28:56:  * VET_UBYTE4 vertex element type: yes
01:28:56:  * Infinite far plane projection: yes
01:28:56:  * Hardware render-to-texture: yes
01:28:56:  * Floating point textures: yes
01:28:56:  * Non-power-of-two textures: yes
01:28:56:  * 1d textures: yes
01:28:56:  * Volume textures: yes
01:28:56:  * Multiple Render Targets: 8
01:28:56:    - With different bit depths: yes
01:28:56:  * Point Sprites: yes
01:28:56:  * Extended point parameters: yes
01:28:56:  * Max Point Size: 2047
01:28:56:  * Vertex texture fetch: yes
01:28:56:  * Number of world matrices: 0
01:28:56:  * Number of texture units: 16
01:28:56:  * Stencil buffer depth: 8
01:28:56:  * Number of vertex blend matrices: 0
01:28:56:    - Max vertex textures: 32
01:28:56:    - Vertex textures shared: yes
01:28:56:  * Render to Vertex Buffer : yes
01:28:56:  * Hardware Atomic Counters: no
01:28:56:  * GL 1.5 without VBO workaround: no
01:28:56:  * Frame Buffer objects: yes
01:28:56:  * Frame Buffer objects (ARB extension): no
01:28:56:  * Frame Buffer objects (ATI extension): no
01:28:56:  * PBuffer support: yes
01:28:56:  * GL 1.5 without HW-occlusion workaround: no
01:28:56:  * Vertex Array Objects: no
01:28:56:  * Separate shader objects: no
01:28:56: DefaultWorkQueue('Root') initialising on thread main.
01:28:56: Particle Renderer Type 'billboard' registered
01:28:56: SceneManagerFactory for type 'OctreeSceneManager' registered.
01:28:56: Parsing scripts for resource group Autodetect
01:28:56: Finished parsing scripts for resource group Autodetect
01:28:56: Creating resources for group Autodetect
01:28:56: All done
01:28:56: Parsing scripts for resource group General
01:28:56: Parsing script Ogre.material
01:28:56: Finished parsing scripts for resource group General
01:28:56: Creating resources for group General
01:28:56: All done
01:28:56: Parsing scripts for resource group Internal
01:28:56: Finished parsing scripts for resource group Internal
01:28:56: Creating resources for group Internal
01:28:56: All done
01:28:56: Parsing scripts for resource group fonts
01:28:56: Finished parsing scripts for resource group fonts
01:28:56: Creating resources for group fonts
01:28:56: All done
01:28:56: Parsing scripts for resource group imagesets
01:28:56: Finished parsing scripts for resource group imagesets
01:28:56: Creating resources for group imagesets
01:28:56: All done
01:28:56: Parsing scripts for resource group layouts
01:28:56: Finished parsing scripts for resource group layouts
01:28:56: Creating resources for group layouts
01:28:56: All done
01:28:56: Parsing scripts for resource group looknfeel
01:28:56: Finished parsing scripts for resource group looknfeel
01:28:56: Creating resources for group looknfeel
01:28:56: All done
01:28:56: Parsing scripts for resource group lua_scripts
01:28:56: Finished parsing scripts for resource group lua_scripts
01:28:56: Creating resources for group lua_scripts
01:28:56: All done
01:28:56: Parsing scripts for resource group schemes
01:28:56: Finished parsing scripts for resource group schemes
01:28:56: Creating resources for group schemes
01:28:56: All done
01:28:56: *** Initializing OIS ***
01:28:56: *** Initializing CEGUI ***
01:29:08: DefaultWorkQueue('Root') shutting down on thread main.
01:29:08: *-*-* OGRE Shutdown
01:29:08: Unregistering ResourceManager for type Compositor
01:29:08: Unregistering ResourceManager for type Skeleton
01:29:08: Unregistering ResourceManager for type Mesh
01:29:08: Unregistering ResourceManager for type HighLevelGpuProgram
01:29:08: Uninstalling plugin: Octree Scene Manager
01:29:08: Plugin successfully uninstalled
01:29:08: Unloading library Plugin_OctreeSceneManager_d
01:29:08: Uninstalling plugin: GL RenderSystem
01:29:08: Unregistering ResourceManager for type GpuProgram
01:29:08: *** Stopping Win32GL Subsystem ***
01:29:08: Unregistering ResourceManager for type Texture
01:29:08: Plugin successfully uninstalled
01:29:08: Unloading library RenderSystem_GL_d
01:29:08: Unregistering ResourceManager for type Material


Thanks guys. I can't for the life of me figure out what I've done wrong here..

-Pets
Last edited by Petskull on Sat Feb 27, 2016 19:03, edited 1 time in total.

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

Re: Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

Postby Ident » Sat Feb 27, 2016 08:39

Maybe it is not rendering, maybe it is not being updated. Are you injecting time pulses? Did you check if rendering works?

http://static.cegui.org.uk/docs/0.8.4/i ... orial.html
See this for injecting time pulses. You need to inject them into the InjectedInputReceiver::injectTimePulse and in the CEGUI::System::injectTimePulse functions.


EDIT:
A conversation on IRC between us followed this post ;)
CrazyEddie: "I don't like GUIs"

Petskull
Just popping in
Just popping in
Posts: 3
Joined: Sat Feb 27, 2016 06:03

Re: [SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

Postby Petskull » Sat Feb 27, 2016 19:03

Thanks so much, Ident! I now understand that you shouldn't try to use your own GUIContext*s and then also use getDefaultGUIContext(). Note the comment in my code below:

-- line 247 --
NOTE: GUIContexts are supposed to be used when drawing to entirely different windows or textures in your 3d scene. For application state changes, use different root Window*s. Though createGUIContext(CEGUI::RenderTarget&) returns a GUIContext*, we should use EITHER that GUIContext* OR CEGUI::System::.getDefaultGUIContext(). If you try to use your returned GUIContext* and getDefaultGUIContext() interchangebly, CEGUI will get confused, leading to bugs such as mouse cursors not displaying and injectMouseMotion/injectMousePosition not working. You can tell things are going wrong if getDefaultGUIContext() or getMouseCursor() returns NULL (Yet, puzzling, no segfault will be generated, it will just quietly fail).

You can use the returned GUIContext* if you want, but then you need to totally abandon getDefaultGUIContext() and manage your own GUIContext*s.
----

This is current state of my clean Ogre3d/CEGUI code:

Code: Select all

/*
$(OGRE_HOME)\include\;$(OGRE_HOME)\include\OIS\;$(OGRE_HOME)\include\OGRE\;$(OGRE_HOME)\include\OGRE\Overlay\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui\include\cegui-0\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\include\
$(OGRE_HOME)\lib\$(Configuration);C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui\lib\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\lib\dynamic\;C:\Users\Voodoo Doll Petskull\Desktop\Code\SDKs\cegui-dependencies\lib\static\

OgreMain_d.lib
OIS_d.lib
OgreOverlay_d.lib
CEGUIBase-0_d.lib
CEGUIOgreRenderer-0_d.lib

OgreMain.lib
OIS.lib
OgreOverlay.lib
CEGUIBase-0.lib
CEGUIOgreRenderer-0.lib
*/

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif

// Ogre3D 1.10 cloned on 160226 https://bitbucket.org/sinbad/ogre
#include <Ogre.h>
#include <OIS.h>

// CEGUI 0.8.4 cloned on 160226 from https://bitbucket.org/cegui/cegui
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/Ogre/Renderer.h>

//--------------------------------------------------------[ Clean CEGUI App ]---//
typedef struct{   /* For moving between App and AppListener */
   Ogre::Root* ogre_root;
   Ogre::RenderWindow *ogre_win;
   OIS::ParamList *ois_pl;
   CEGUI::OgreRenderer *cegui_renderer;
} AppPak;

/* This AppListener class will house all callback from Ogre's rendering and window events, as well as OIS's Keyboard and Mouse events. */
class AppListener : public Ogre::FrameListener, public Ogre::WindowEventListener, public OIS::KeyListener, public OIS::MouseListener{
public:
   AppListener(AppPak *new_app_pak) :keep_running(true){
      app_pak = new_app_pak;

      ois_input_man = OIS::InputManager::createInputSystem(*app_pak->ois_pl);
      ois_kb = static_cast<OIS::Keyboard*>(ois_input_man->createInputObject(OIS::OISKeyboard, true));
      ois_mouse = static_cast<OIS::Mouse*>(ois_input_man->createInputObject(OIS::OISMouse, true));
      ois_kb->setEventCallback(this);
      ois_mouse->setEventCallback(this);

      windowResized(app_pak->ogre_win);

      MAX_BUTTON_NUM = 0;
   }
   ~AppListener(){
      OIS::InputManager::destroyInputSystem(ois_input_man);
   }

   // --- Ogre::FrameListener Callbacks ---------------------------//
   bool frameRenderingQueued(const Ogre::FrameEvent& evt){
      Ogre::WindowEventUtilities::messagePump();

      // For some reason, injectTimePulse(delta_time) currently must be done both
      // on the GUIContext and also on CEGUI::System itself everytime.
      CEGUI::System::getSingleton().getDefaultGUIContext().injectTimePulse((float)evt.timeSinceLastFrame);
      CEGUI::System::getSingleton().injectTimePulse((float)evt.timeSinceLastFrame);

      // If our OIS::Keyboard or our OIS::Mouse has been destroyed (sya, by closing the window), end the rendering
      if (ois_kb && ois_mouse){
         ois_kb->capture();
         ois_mouse->capture();
      }
      else {
         return false;
      }

      // By bootstrapping Ogre direct, we don't have to call this.  Ogre does it automatically.
      //CEGUI::System::getSingleton().renderAllGUIContexts();

      return keep_running;                                                         // Return false ends Ogre's rendering
   }

   // --- OIS::KeyListener and OIS::MouseListener Callbacks -------//
   bool keyPressed(const OIS::KeyEvent &arg){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyDown((CEGUI::Key::Scan)arg.key);
      CEGUI::System::getSingleton().getDefaultGUIContext().injectChar((CEGUI::Key::Scan)arg.text);

      if (arg.key == OIS::KC_ESCAPE){ keep_running = false; }
      return true;
   }
   bool keyReleased(const OIS::KeyEvent &arg){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyUp((CEGUI::Key::Scan)arg.key);
      return true;
   }
   bool mouseMoved(const OIS::MouseEvent &arg){
      // This should change the position of my mouse cursor
      CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseMove((float)arg.state.X.rel, (float)arg.state.Y.rel);
      //CEGUI::System::getSingleton().getDefaultGUIContext().injectMousePosition(20.f, 20.f);
      return true;
   }
   bool mousePressed(const OIS::MouseEvent &arg, OIS::MouseButtonID id){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonDown(convertButton(id));

      // --- / Create New UI Button on Mouse Click \ --- //
      std::ostringstream btn_name_strm; btn_name_strm << "B" << ++MAX_BUTTON_NUM;
      CEGUI::PushButton *ui_button = static_cast<CEGUI::PushButton*>(CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/Button", btn_name_strm.str()));
      CEGUI::Window *root_win = CEGUI::System::getSingleton().getDefaultGUIContext().getRootWindow();
      root_win->addChild(ui_button);
      ui_button->setSize(CEGUI::USize(CEGUI::UDim(0.04f, 0), CEGUI::UDim(0.04f, 0)));
      ui_button->setText(btn_name_strm.str());
      CEGUI::Vector2f mouse_pos = CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().getPosition();
      ui_button->setPosition(CEGUI::UVector2(CEGUI::UDim(0.0f, mouse_pos.d_x), CEGUI::UDim(0.0f, mouse_pos.d_y)));
      // --- \ Create New UI Button on Mouse Click / --- //

      return true;
   }
   bool mouseReleased(const OIS::MouseEvent &arg, OIS::MouseButtonID id){
      CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonUp(convertButton(id));
      return true;
   }

   // --- Ogre::WindowEventListener Callbacks ---------------------//
   void windowResized(Ogre::RenderWindow* rw){
      unsigned int width, height, depth;
      int left, top;
      app_pak->ogre_win->getMetrics(width, height, depth, left, top);

      const OIS::MouseState &ms = ois_mouse->getMouseState();
      ms.width = width;
      ms.height = height;
   }
   void windowClosed(Ogre::RenderWindow* rw){
      if (rw == app_pak->ogre_win){
         if (ois_input_man){
            ois_input_man->destroyInputObject(ois_mouse);
            ois_input_man->destroyInputObject(ois_kb);
            ois_mouse = NULL;
            ois_kb = NULL;

            OIS::InputManager::destroyInputSystem(ois_input_man);
            ois_input_man = 0;
         }
      }
   }

   // Convert OIS MouseButton event to CEGUI MouseButton event
   CEGUI::MouseButton convertButton(OIS::MouseButtonID buttonID) {
      switch (buttonID) {
      case OIS::MB_Left:
         return CEGUI::LeftButton;
      case OIS::MB_Right:
         return CEGUI::RightButton;
      case OIS::MB_Middle:
         return CEGUI::MiddleButton;
      default:
         return CEGUI::LeftButton;
      }
   }

private:
   AppPak *app_pak;
   bool keep_running;

   OIS::InputManager *ois_input_man;
   OIS::Mouse *ois_mouse;
   OIS::Keyboard *ois_kb;

   unsigned int MAX_BUTTON_NUM;
};

class App{
public:
   void go(){   /* Entry Point Called by main() */
      Setup();
      CreateGUIContext();
      CreateGUIRootWindow();
      app_pak.ogre_root->startRendering();
      DestroyGUIRootWindow();
      Shutdown();
   }
private:
   void Setup(){   /* Here we set up the basic libs of Ogre, OIS, and CEGUI */
      // --- Init Ogre --- //
      app_pak.ogre_root = new Ogre::Root("", "", "Ogre.log");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media", "FileSystem", "General");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/imagesets/", "FileSystem", "imagesets");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/schemes/", "FileSystem", "schemes");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/fonts/", "FileSystem", "fonts");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/looknfeel/", "FileSystem", "looknfeel");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/layouts/", "FileSystem", "layouts");
      Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./media/CEGUI/lua_scripts/", "FileSystem", "lua_scripts");

#ifdef _DEBUG
      app_pak.ogre_root->loadPlugin(Ogre::String("RenderSystem_GL_d"));
      app_pak.ogre_root->loadPlugin(Ogre::String("Plugin_OctreeSceneManager_d"));
#else
      app_pak.ogre_root->loadPlugin("RenderSystem_GL");
      app_pak.ogre_root->loadPlugin("Plugin_OctreeSceneManager");
#endif;

      Ogre::RenderSystem* rs = app_pak.ogre_root->getRenderSystemByName("OpenGL Rendering Subsystem");
      if (!(rs->getName() == "OpenGL Rendering Subsystem")){ return; }
      rs->setConfigOption("Full Screen", "No");
      rs->setConfigOption("VSync", "No");
      rs->setConfigOption("Video Mode", "1024 x 768 @ 32-bit");
      app_pak.ogre_root->setRenderSystem(rs);

      app_pak.ogre_win = app_pak.ogre_root->initialise(true, "Clean CEGUI Window");

      Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5);
      Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();

      //---------[ CEGUI works fine without these, but the black background does not redraw. ]---------//
      // --- Ogre Scene Manager --- //
      Ogre::SceneManager *scene_man = app_pak.ogre_root->createSceneManager("OctreeSceneManager", "DefaultSceneManager");

      // --- Camera --- //
      Ogre::Camera *main_cam = scene_man->createCamera("MainCam");
      main_cam->setPosition(Ogre::Vector3(40, 20, 80));
      main_cam->lookAt(Ogre::Vector3(0, 0, 0));
      main_cam->setNearClipDistance(5);

      // --- Viewport --- //
      Ogre::Viewport* vp = app_pak.ogre_win->addViewport(main_cam);
      vp->setBackgroundColour(Ogre::ColourValue(17.f / 255.f, 17.f / 255.f, 17.f / 255.f));
      main_cam->setAspectRatio(Ogre::Real(vp->getActualWidth()) / Ogre::Real(vp->getActualHeight()));
      //----------------------------------------------[|]----------------------------------------------//

      // --- Init OIS --- //
      Ogre::LogManager::getSingletonPtr()->logMessage("*** Initializing OIS ***");
      size_t windowHnd = 0;
      std::ostringstream windowHndStr;
      app_pak.ogre_win->getCustomAttribute("WINDOW", &windowHnd);
      windowHndStr << windowHnd;
      app_pak.ois_pl = new OIS::ParamList();
      app_pak.ois_pl->insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));

      // --- Init CEGUI --- //
      Ogre::LogManager::getSingletonPtr()->logMessage("*** Initializing CEGUI ***");
      app_pak.cegui_renderer = &CEGUI::OgreRenderer::bootstrapSystem();
      CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);

      CEGUI::ImageManager::setImagesetDefaultResourceGroup("imagesets");
      CEGUI::Scheme::setDefaultResourceGroup("schemes");
      CEGUI::Font::setDefaultResourceGroup("fonts");
      CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeel");
      CEGUI::WindowManager::setDefaultResourceGroup("layouts");
      CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");

      // --- Init Ogre/OIS Listeners --- //
      app_listener = new AppListener(&app_pak);
      app_pak.ogre_root->addFrameListener(app_listener);
      Ogre::WindowEventUtilities::addWindowEventListener(app_pak.ogre_win, app_listener);
      app_listener->windowResized(app_pak.ogre_win);   // hack to set tell mouse about window size

   }
   void Shutdown(){
      // --- Shutdown Ogre, OIS, and CEGUI --- //
      app_pak.ogre_root->getAutoCreatedWindow()->removeAllViewports();
      Ogre::WindowEventUtilities::removeWindowEventListener(app_pak.ogre_win, app_listener);
      app_listener->windowClosed(app_pak.ogre_win);
      app_pak.ogre_root->removeFrameListener( app_listener );
      delete app_listener;

      delete app_pak.ogre_root;
      delete app_pak.ois_pl;
   }
   void CreateGUIContext(){
      // --- Create resources we need --- //
      CEGUI::SchemeManager::getSingleton().createFromFile("TaharezLook.scheme");
      CEGUI::FontManager::getSingleton().createFromFile("DejaVuSans-12.font");

      // --- Create our GUIContext and set its defaults --- //
      // NOTE: GUIContexts are supposed to be used when drawing to entirely different windows or textures in your 3d scene.
      // For application state changes, use different root Window*s.  Though createGUIContext(CEGUI::RenderTarget&) returns
      // a GUIContext*, we should use EITHER that GUIContext* OR CEGUI::System::.getDefaultGUIContext().  If you try to use
      // your returned GUIContext* and getDefaultGUIContext() interchangebly, CEGUI will get confused, leading to bugs such
      // as mouse cursors not displaying and injectMouseMotion/injectMousePosition not working.  You can tell things are
      // going wrong if getDefaultGUIContext() or getMouseCursor() returns NULL (Yet, puzzling, no segfault will be generated,
      // it will just quietly fail).
      
      // You can use the returned GUIContext* if you want, but then you need to totally abandon getDefaultGUIContext() and
      // manage your own GUIContext*s.

      CEGUI::System::getSingleton().createGUIContext(app_pak.cegui_renderer->getDefaultRenderTarget());
      CEGUI::System::getSingleton().getDefaultGUIContext().setDefaultFont("DejaVuSans-12");
      CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setDefaultImage("TaharezLook/MouseArrow");
      //CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().show();      // Only important to bring cursor back from hide()
   }
   void CreateGUIRootWindow(){
      // --- Setup Root Window for our DefaultGUIContext --- //
      ui_root_win = CEGUI::WindowManager::getSingleton().createWindow("DefaultWindow", "root");
      CEGUI::System::getSingleton().getDefaultGUIContext().setRootWindow(ui_root_win);

      // --- Setup UI Buttons in our Root Window --- //
      CEGUI::PushButton *ui_button1 = static_cast<CEGUI::PushButton*>(CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/Button", "UITestButton1"));
      ui_root_win->addChild(ui_button1);
      ui_button1->setPosition(CEGUI::UVector2(CEGUI::UDim(0.01f, 0), CEGUI::UDim(0.01f, 0)));
      ui_button1->setSize(CEGUI::USize(CEGUI::UDim(0.25f, 0), CEGUI::UDim(0.03f, 0)));
      ui_button1->setText("UI Button 1");

      CEGUI::PushButton *ui_button2 = static_cast<CEGUI::PushButton*>(CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/Button", "UITestButton2"));
      ui_root_win->addChild(ui_button2);
      CEGUI::UVector2 ui_button1_pos = ui_button1->getPosition();
      CEGUI::USize ui_button1_size = ui_button1->getSize();
      ui_button2->setPosition(CEGUI::UVector2(ui_button1_pos.d_x, ui_button1_pos.d_y + ui_button1_size.d_height+CEGUI::UDim(0.01f, 0)));
      ui_button2->setSize(CEGUI::USize(CEGUI::UDim(0.25f, 0), CEGUI::UDim(0.03f, 0)));
      ui_button2->setText("UI Button 2");
   }
   void DestroyGUIRootWindow(){
      CEGUI::WindowManager::getSingleton().destroyWindow(ui_root_win);
   }

   AppPak app_pak;
   AppListener *app_listener;

   CEGUI::Window *ui_root_win;
};

//-------------------------------------------------------------------[ Init ]---//
std::wstring s2ws(const std::string& s){
   int len;
   int slength = (int)s.length() + 1;
   len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, 0, 0);
   wchar_t* buf = new wchar_t[len];
   MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, buf, len);
   std::wstring r(buf);
   delete[] buf;
   return r;
}

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT){
#else
int main(int argc, char *argv[]){
#endif
   App my_app;

   try {
      my_app.go();
   }
   catch (Ogre::Exception& e){
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
      std::wstring stemp1 = s2ws("Stoopid Ogre exception has occurred!");
      std::wstring stemp2 = s2ws(e.getFullDescription().c_str());

      LPCWSTR title = stemp1.c_str();
      LPCWSTR error_desc = stemp2.c_str();
      MessageBox(NULL, error_desc, title, MB_OK | MB_ICONERROR | MB_TASKMODAL);
#else
      std::cerr << "Stoopid Ogre exception has occurred: " << e.getFullDescription().c_str() << std::endl;
#endif
   }

   return 0;
}


Thanks so much for all of your help! I have now marked this thread as [SOLVED].

-Pets


Return to “Help”

Who is online

Users browsing this forum: No registered users and 22 guests