I am using Ogre 1.7 from SVN, Cegui 0.7 branch from SVN.
I am at tutorial 3 where you finally get to see something on the screen(mouse pointer): http://www.cegui.org.uk/docs/current/da ... orial.html
My application did not have a cursor to begin with, just the empty window, and after following these tutorials, I am not getting any errors or crashes, but I still don't have a cursor. I have went over the Beginner's Tutorials in the Developer Documentation a few times and I can't figure out what I am missing.
it says in tutorial 2 that if your using Ogre then you want to use ogre's resource manager for resource locations, and also set the default resource groups to be used:
Code: Select all
// load the CEGUI resource location(s)
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/schemes/", "FileSystem", "schemes");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/imagesets/", "FileSystem", "imagesets");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/fonts/", "FileSystem", "fonts");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/layouts/", "FileSystem", "layouts");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/looknfeel/", "FileSystem", "looknfeels");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../datafiles/lua_scripts/", "FileSystem", "lua_scripts");
// set the default resource groups to be used
CEGUI::Imageset::setDefaultResourceGroup("imagesets");
CEGUI::Font::setDefaultResourceGroup("fonts");
CEGUI::Scheme::setDefaultResourceGroup("schemes");
CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeels");
CEGUI::WindowManager::setDefaultResourceGroup("layouts");
CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");
Then in tutorial 3, you load the scheme and set a mouse cursor:
Code: Select all
// create (load) the TaharezLook scheme file
// (this auto-loads the TaharezLook looknfeel and imageset files)
CEGUI::SchemeManager::getSingleton().create( "TaharezLook.scheme" );
// default mouse cursor YAY!
CEGUI::System::getSingleton().setDefaultMouseCursor( "TaharezLook", "MouseArrow" );
Cegui.log:
Code: Select all
29/01/2010 16:55:17 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29/01/2010 16:55:17 (Std) + Crazy Eddie's GUI System - Event log +
29/01/2010 16:55:17 (Std) + (http://www.cegui.org.uk/) +
29/01/2010 16:55:17 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29/01/2010 16:55:17 (Std) CEGUI::Logger singleton created. (02A96CA8)
29/01/2010 16:55:17 (Std)
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std) * Important: *
29/01/2010 16:55:17 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
29/01/2010 16:55:17 (Std) * of this log file indicated below. Failure to do this will result in no *
29/01/2010 16:55:17 (Std) * support being given; please do not waste our time. *
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std) ---- Version 0.7.2 (Build: Jan 24 2010 Static Debug Microsoft Windows MSVC++ 9.0 32 bit) ----
29/01/2010 16:55:17 (Std) ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
29/01/2010 16:55:17 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
29/01/2010 16:55:17 (Std) ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
29/01/2010 16:55:17 (Std) ---- Scripting module is: None ----
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
29/01/2010 16:55:17 (Std) ********************************************************************************
29/01/2010 16:55:17 (Std)
29/01/2010 16:55:17 (Std) ---- Begining CEGUI System initialisation ----
29/01/2010 16:55:17 (Std) CEGUI::ImagesetManager singleton created (02A96EC0)
29/01/2010 16:55:17 (Std) CEGUI::FontManager singleton created. (02A98240)
29/01/2010 16:55:17 (Std) CEGUI::WindowFactoryManager singleton created
29/01/2010 16:55:17 (Std) CEGUI::WindowManager singleton created (02A98600)
29/01/2010 16:55:17 (Std) CEGUI::SchemeManager singleton created. (02A97630)
29/01/2010 16:55:17 (Std) CEGUI::MouseCursor singleton created. (02A97848)
29/01/2010 16:55:17 (Std) CEGUI::GlobalEventSet singleton created. (02A986A0)
29/01/2010 16:55:17 (Std) CEGUI::WidgetLookManager singleton created. (02A97E88)
29/01/2010 16:55:17 (Std) CEGUI::WindowRendererManager singleton created (02A97EE0)
29/01/2010 16:55:17 (Std) CEGUI::RenderEffectManager singleton created (02A97F38)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'DefaultWindow' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'DefaultWindow' windows added. (02A9A490)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'DragContainer' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'DragContainer' windows added. (02A9A650)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'ScrolledContainer' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'ScrolledContainer' windows added. (02A9A858)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'ClippedContainer' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'ClippedContainer' windows added. (02A9AA18)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Checkbox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Checkbox' windows added. (02A9AC28)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/PushButton' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (02A9AE40)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/RadioButton' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (02A9B000)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Combobox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (02A9B220)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ComboDropList' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (02A9B3E0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Editbox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (02A9B5A0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/FrameWindow' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (02A9B7D0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ItemEntry' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (02A9B990)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Listbox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (02A9BB50)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ListHeader' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (02A9BD10)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (02A9BED0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Menubar' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (02A9C160)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/PopupMenu' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (02A9C520)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/MenuItem' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (02A9C5F8)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/MultiColumnList' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (02A9C7B8)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (02A9CA18)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ProgressBar' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (02A9CC88)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ScrollablePane' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (02A9CE48)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Scrollbar' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (02A9D008)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Slider' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Slider' windows added. (02A9D1C8)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Spinner' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (02A9D388)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/TabButton' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (02A9D548)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/TabControl' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (02A9D708)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Thumb' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (02A9D8C8)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Titlebar' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (02A9DA88)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Tooltip' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (02A9DD30)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/ItemListbox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (02A9DEF0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/GroupBox' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (02A9E0B0)
29/01/2010 16:55:17 (Std) Created WindowFactory for 'CEGUI/Tree' windows.
29/01/2010 16:55:17 (Std) WindowFactory for 'CEGUI/Tree' windows added. (02A9E270)
29/01/2010 16:55:17 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
29/01/2010 16:55:17 (Std) CEGUI::System singleton created. (02A96890)
29/01/2010 16:55:17 (Std) ---- CEGUI System initialisation completed ----
29/01/2010 16:55:17 (Std)
29/01/2010 16:55:17 (Std) Started creation of Scheme from XML specification:
29/01/2010 16:55:17 (Std) ---- CEGUI GUIScheme name: TaharezLook
29/01/2010 16:55:17 (Std) Started creation of Imageset from XML specification:
29/01/2010 16:55:17 (Std) ---- CEGUI Imageset name: TaharezLook
29/01/2010 16:55:17 (Std) ---- Source texture file: TaharezLook.tga in resource group: (Default)
29/01/2010 16:55:17 (Std) ===== Falagard 'root' element: look and feel parsing begins =====
29/01/2010 16:55:18 (Std) ===== Look and feel parsing completed =====
29/01/2010 16:55:18 (Std) No window factories specified for module 'CEGUIFalagardBase' - adding all available factories...
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Button' using base type 'Falagard/Button', window renderer '' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'Falagard/Checkbox', window renderer '' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'Falagard/ComboDropList', window renderer '' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'Falagard/Editbox', window renderer '' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'Falagard/Combobox', window renderer '' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'Falagard/Editbox', window renderer '' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'Falagard/FrameWindow', window renderer '' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'Falagard/Button', window renderer '' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'Falagard/ListHeader', window renderer '' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'Falagard/ListHeaderSegment', window renderer '' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'Falagard/Listbox', window renderer '' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'Falagard/Menubar', window renderer '' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'Falagard/MenuItem', window renderer '' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'Falagard/MultiColumnList', window renderer '' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'Falagard/MultiLineEditbox', window renderer '' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'Falagard/PopupMenu', window renderer '' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'Falagard/RadioButton', window renderer '' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'Falagard/ScrollablePane', window renderer '' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Slider' using base type 'Falagard/Slider', window renderer '' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'Falagard/Spinner', window renderer '' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'Falagard/StaticImage', window renderer '' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'Falagard/StaticText', window renderer '' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'Falagard/SystemButton', window renderer '' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'Falagard/TabButton', window renderer '' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'Falagard/TabControl', window renderer '' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/TabPane' using base type 'Falagard/TabPane', window renderer '' Look'N'Feel 'TaharezLook/TabPane' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'Falagard/Titlebar', window renderer '' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'Falagard/Tooltip', window renderer '' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (002FC4D8)
29/01/2010 16:55:18 (Std) Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (002FC4D8)