My Code:
Code: Select all
_root = new Ogre::Root("", "");
_window = _root->createRenderWindow("CDK", 1024, 768, false, &opts);
_GUIRenderer = new CEGUI::OgreCEGUIRenderer(_window, Ogre::RENDER_QUEUE_OVERLAY, true, 3000, _sceneMgr);
new CEGUI::System(_GUIRenderer);
_EditorGuiSheet=CEGUI::WindowManager::getSingleton().createWindow((CEGUI::utf8*)"DefaultWindow",(CEGUI::utf8*)"Sheet"); CEGUI::System::getSingleton().setGUISheet(_EditorGuiSheet);
CEGUI::FrameWindow*fWnd=(CEGUI::FrameWindow*)CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/FrameWindow","testWindow");
_EditorGuiSheet->addChildWindow(fWnd);
fWnd->setPosition( (CEGUI::UVector2(cegui_reldim(0.25f),cegui_reldim(0.25f)) ) );
fWnd->setSize(CEGUI::UVector2(cegui_reldim(0.5f), cegui_reldim(0.5f)));
fWnd->setText( "Hello World!" );
And the CEGUI Logfile:
15/05/2007 19:22:05 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
15/05/2007 19:22:05 (InfL1) + Crazy Eddie's GUI System - Event log +
15/05/2007 19:22:05 (InfL1) + (http://www.cegui.org.uk/) +
15/05/2007 19:22:05 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
15/05/2007 19:22:05 (InfL1) CEGUI::Logger singleton created.
15/05/2007 19:22:06 (InfL1) ---- Begining CEGUI System initialisation ----
15/05/2007 19:22:06 (InfL1) CEGUI::ImagesetManager singleton created
15/05/2007 19:22:06 (InfL1) CEGUI::FontManager singleton created.
15/05/2007 19:22:06 (InfL1) CEGUI::WindowFactoryManager singleton created
15/05/2007 19:22:06 (InfL1) CEGUI::WindowManager singleton created
15/05/2007 19:22:06 (InfL1) CEGUI::SchemeManager singleton created.
15/05/2007 19:22:06 (InfL1) CEGUI::MouseCursor singleton created.
15/05/2007 19:22:06 (InfL1) CEGUI::GlobalEventSet singleton created.
15/05/2007 19:22:06 (InfL1) CEGUI::WidgetLookManager singleton created.
15/05/2007 19:22:06 (InfL1) CEGUI::WindowRendererManager singleton created
15/05/2007 19:22:06 (InfL1) WindowFactory for 'DefaultWindow' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'DragContainer' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'ScrolledContainer' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'ClippedContainer' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Checkbox' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/PushButton' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/RadioButton' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Combobox' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ComboDropList' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Editbox' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/FrameWindow' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ItemEntry' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Listbox' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ListHeader' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ListHeaderSegment' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Menubar' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/PopupMenu' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/MenuItem' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/MultiColumnList' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/MultiLineEditbox' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ProgressBar' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ScrollablePane' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Scrollbar' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Slider' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Spinner' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/TabButton' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/TabControl' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Thumb' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Titlebar' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/Tooltip' windows added.
15/05/2007 19:22:06 (InfL1) WindowFactory for 'CEGUI/ItemListbox' windows added.
15/05/2007 19:22:06 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
15/05/2007 19:22:06 (InfL1) CEGUI::System singleton created.
15/05/2007 19:22:06 (InfL1) ---- CEGUI System initialisation completed ----
15/05/2007 19:22:06 (InfL1) ---- Version 0.5.1 ----
15/05/2007 19:22:06 (InfL1) ---- Renderer module is: CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI ----
15/05/2007 19:22:06 (InfL1) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
15/05/2007 19:22:06 (InfL1) ---- Scripting module is: None ----
15/05/2007 19:22:06 (InfL1) Attempting to load Scheme from file 'TaharezLookSkin.scheme'.
15/05/2007 19:22:07 (InfL1) Attempting to create an Imageset from the information specified in file 'TaharezLook.imageset'.
15/05/2007 19:22:07 (InfL1) Started creation of Imageset from XML specification:
15/05/2007 19:22:07 (InfL1) ---- CEGUI Imageset name: TaharezLook
15/05/2007 19:22:07 (InfL1) ---- Source texture file: TaharezLook.tga in resource group: (Default)
15/05/2007 19:22:07 (InfL1) ===== Falagard 'root' element: look and feel parsing begins =====
15/05/2007 19:22:08 (InfL1) ===== Look and feel parsing completed =====
15/05/2007 19:22:09 (InfL1) No window factories specified for module 'CEGUIFalagardBase' - adding all available factories...
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Button' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Default' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Editbox' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/FrameWindow' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ItemEntry' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ListHeader' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ListHeaderSegment' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Listbox' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Menubar' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/MenuItem' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/MultiColumnList' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/MultiLineEditbox' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/PopupMenu' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ProgressBar' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ScrollablePane' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Scrollbar' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Slider' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Static' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/StaticImage' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/StaticText' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/SystemButton' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/TabButton' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/TabControl' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Titlebar' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ToggleButton' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/Tooltip' added.
15/05/2007 19:22:09 (InfL1) WindowRendererFactory 'Falagard/ItemListbox' added.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'Falagard/ProgressBar', window renderer '' and Look'N'Feel 'TaharezLook/AltProgressBar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Button' using base type 'Falagard/Button', window renderer '' and Look'N'Feel 'TaharezLook/Button'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'Falagard/Checkbox', window renderer '' and Look'N'Feel 'TaharezLook/Checkbox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'Falagard/ComboDropList', window renderer '' and Look'N'Feel 'TaharezLook/ComboDropList'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'Falagard/Editbox', window renderer '' and Look'N'Feel 'TaharezLook/ComboEditbox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'Falagard/Combobox', window renderer '' and Look'N'Feel 'TaharezLook/Combobox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'Falagard/Editbox', window renderer '' and Look'N'Feel 'TaharezLook/Editbox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'Falagard/FrameWindow', window renderer '' and Look'N'Feel 'TaharezLook/FrameWindow'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' and Look'N'Feel 'TaharezLook/HorizontalScrollbar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' and Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'Falagard/Button', window renderer '' and Look'N'Feel 'TaharezLook/ImageButton'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'Falagard/ListHeader', window renderer '' and Look'N'Feel 'TaharezLook/ListHeader'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'Falagard/ListHeaderSegment', window renderer '' and Look'N'Feel 'TaharezLook/ListHeaderSegment'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'Falagard/Listbox', window renderer '' and Look'N'Feel 'TaharezLook/Listbox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'Falagard/Menubar', window renderer '' and Look'N'Feel 'TaharezLook/Menubar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'Falagard/MenuItem', window renderer '' and Look'N'Feel 'TaharezLook/MenuItem'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'Falagard/MultiColumnList', window renderer '' and Look'N'Feel 'TaharezLook/MultiColumnList'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'Falagard/MultiLineEditbox', window renderer '' and Look'N'Feel 'TaharezLook/MultiLineEditbox'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'Falagard/PopupMenu', window renderer '' and Look'N'Feel 'TaharezLook/PopupMenu'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'Falagard/ProgressBar', window renderer '' and Look'N'Feel 'TaharezLook/ProgressBar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'Falagard/RadioButton', window renderer '' and Look'N'Feel 'TaharezLook/RadioButton'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'Falagard/ScrollablePane', window renderer '' and Look'N'Feel 'TaharezLook/ScrollablePane'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Slider' using base type 'Falagard/Slider', window renderer '' and Look'N'Feel 'TaharezLook/Slider'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'Falagard/Thumb', window renderer '' and Look'N'Feel 'TaharezLook/SliderThumb'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'Falagard/Spinner', window renderer '' and Look'N'Feel 'TaharezLook/Spinner'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'Falagard/StaticImage', window renderer '' and Look'N'Feel 'TaharezLook/StaticImage'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'Falagard/StaticText', window renderer '' and Look'N'Feel 'TaharezLook/StaticText'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'Falagard/SystemButton', window renderer '' and Look'N'Feel 'TaharezLook/ImageButton'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'Falagard/TabButton', window renderer '' and Look'N'Feel 'TaharezLook/TabButton'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'Falagard/TabControl', window renderer '' and Look'N'Feel 'TaharezLook/TabControl'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/TabPane' using base type 'Falagard/TabPane', window renderer '' and Look'N'Feel 'TaharezLook/TabPane'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'Falagard/Titlebar', window renderer '' and Look'N'Feel 'TaharezLook/Titlebar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'Falagard/Tooltip', window renderer '' and Look'N'Feel 'TaharezLook/Tooltip'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' and Look'N'Feel 'TaharezLook/VerticalScrollbar'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' and Look'N'Feel 'TaharezLook/VerticalScrollbarThumb'.
15/05/2007 19:22:09 (InfL1) Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'Falagard/ProgressBar', window renderer '' and Look'N'Feel 'TaharezLook/VUMeter'.
15/05/2007 19:22:09 (Error) Exception: WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Falagard/FrameWindow' Window objects is not registered with the system.
Sorry the bad english and Thx for answers and help.