[SOLVED]Image Button?

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

DozyHole
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Mar 22, 2011 23:22

[SOLVED]Image Button?

Postby DozyHole » Sun Sep 04, 2011 13:37

Hi, this code works but when I try to split the image/texture up nothing shows. It compiles and runs but without image/button.

Code: Select all

        //-- The following commented lines do not work,
      //-- It compiles and runs but no image/button shows
        //   Texture* texturePtr = &System::getSingleton().getRenderer()->createTexture("Control_Buttons.png", "imagesets"); // default resource group
        //   Imageset* ButtonsImageset = &ImagesetManager::getSingleton().create("Buttons", *texturePtr);
       //   ButtonsImageset->defineImage("ButtonUp", Point(0.0f,0.0f), Size( 1.0f, 1.0f ), Point(0.0f,0.0f));
        //   ButtonsImageset->defineImage("ButtonDown", Point(0.0f,0.0f), Size( 1.0f, 1.0f ), Point(0.0f,0.0f));
       
      //-- This does work for full_image, but how do I split it up if the above code is wrong?
      CEGUI::Imageset* ButtonsImageset = &CEGUI::ImagesetManager::getSingleton().createFromImageFile("Buttons","Control_Buttons.png");

      PushButton* playButton = (PushButton*)CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/ImageButton", "playButton");
      this->rootWindow->addChildWindow( playButton );
      playButton->setPosition( UVector2( UDim( 0.0f, 0.0f ), UDim( 0.0f, 0.0f ) ) );
      playButton->setSize( UVector2( UDim( 0.5f, 0.0f ), UDim( 0.5f, 0.0f ) ) );
      playButton->setProperty( "NormalImage", "set:Buttons image:full_image" );
      playButton->setProperty( "HoverImage", "set:Buttons image:full_image" );
      playButton->setProperty( "PushedImage", "set:Buttons image:ButtonDown" );
       playButton->setProperty( "DisabledImage", "set:Buttons image:ButtonDown" );


Perhaps I am using outdated tutorials, where is the best resource showing how to create an image button from code?
Or if you can see something wrong with the commented code let me know, thamks.
Last edited by DozyHole on Mon Sep 05, 2011 15:24, edited 1 time in total.

DozyHole
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Mar 22, 2011 23:22

Re: Image Button?

Postby DozyHole » Mon Sep 05, 2011 11:33

I'm really sorry for not posting the log, here it is:

Code: Select all

05/09/2011 12:28:18 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
05/09/2011 12:28:18 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
05/09/2011 12:28:18 (Std)    +                          (http://www.cegui.org.uk/)                         +
05/09/2011 12:28:18 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

05/09/2011 12:28:18 (Std)    CEGUI::Logger singleton created. (0DC2D5D0)
05/09/2011 12:28:18 (Std)    
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    * Important:                                                                   *
05/09/2011 12:28:18 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
05/09/2011 12:28:18 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
05/09/2011 12:28:18 (Std)    *     support being given; please do not waste our time.                       *
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    ---- Version 0.7.5 (Build: Mar 26 2011 Microsoft Windows MSVC++ 9.0 32 bit) ----
05/09/2011 12:28:18 (Std)    ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
05/09/2011 12:28:18 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
05/09/2011 12:28:18 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
05/09/2011 12:28:18 (Std)    ---- Scripting module is: None ----
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
05/09/2011 12:28:18 (Std)    ********************************************************************************
05/09/2011 12:28:18 (Std)    
05/09/2011 12:28:18 (Std)    ---- Begining CEGUI System initialisation ----
05/09/2011 12:28:18 (Std)    CEGUI::ImagesetManager singleton created (0DC2DA68)
05/09/2011 12:28:18 (Std)    CEGUI::FontManager singleton created. (0DC2E418)
05/09/2011 12:28:18 (Std)    CEGUI::WindowFactoryManager singleton created
05/09/2011 12:28:18 (Std)    CEGUI::WindowManager singleton created (0CF5A678)
05/09/2011 12:28:18 (Std)    CEGUI::SchemeManager singleton created. (0DC2ED90)
05/09/2011 12:28:18 (Std)    CEGUI::MouseCursor singleton created. (0DC205F8)
05/09/2011 12:28:18 (Std)    CEGUI::GlobalEventSet singleton created. (0CF57528)
05/09/2011 12:28:18 (Std)    CEGUI::AnimationManager singleton created (0CF5DB70)
05/09/2011 12:28:18 (Std)    CEGUI::WidgetLookManager singleton created. (0DC312F0)
05/09/2011 12:28:18 (Std)    CEGUI::WindowRendererManager singleton created (0DC31578)
05/09/2011 12:28:18 (Std)    CEGUI::RenderEffectManager singleton created (0DC31698)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'DefaultWindow' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'DefaultWindow' windows added. (0DC31828)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'DragContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'DragContainer' windows added. (0DC319C8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'ScrolledContainer' windows added. (0DC31B68)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'ClippedContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'ClippedContainer' windows added. (0DC31D10)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (0DC31EB8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (0DC32068)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (0DC321E8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (0DC323A8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (0DC32528)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (0DC326A8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (0DC32878)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (0DC329F8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (0DC32AB0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (0DC32E70)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0DC33048)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (0DC33100)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (0DC33398)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (0DC33570)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (0DC33628)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0DC337A8)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (0DC33A30)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (0DC33BB0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (0DC33D30)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (0DC33EB0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (0DC34030)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (0DC341B0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (0DC34330)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (0DC344B0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (0DC34630)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (0DC34870)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (0DC349F0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (0DC34B70)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (0DC34CF0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (0DC34E70)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (0DC34FF0)
05/09/2011 12:28:18 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
05/09/2011 12:28:18 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (0DC35170)
05/09/2011 12:28:18 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
05/09/2011 12:28:18 (Std)    CEGUI::System singleton created. (0DC2D188)
05/09/2011 12:28:18 (Std)    ---- CEGUI System initialisation completed ----
05/09/2011 12:28:18 (Std)    
05/09/2011 12:28:18 (Std)    Started creation of Scheme from XML specification:
05/09/2011 12:28:18 (Std)    ---- CEGUI GUIScheme name: WindowsLookSkin
05/09/2011 12:28:18 (Std)    Started creation of Imageset from XML specification:
05/09/2011 12:28:18 (Std)    ---- CEGUI Imageset name: WindowsLook
05/09/2011 12:28:18 (Std)    ---- Source texture file: WindowsLook.tga in resource group: (Default)
05/09/2011 12:28:18 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
05/09/2011 12:28:18 (Std)    ===== Look and feel parsing completed =====
05/09/2011 12:28:18 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Button' added. (0DC397B0)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Default' added. (120C38C0)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (120CBB10)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (0DD121A0)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (120B5280)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (120C9160)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (120CF5F0)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (120CF770)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (0DC4C798)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (0DC4C918)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (0DC4CA98)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0DC4CC18)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (0DC4CD98)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (120CBCD8)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (120CBE58)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (120CBFD8)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Slider' added. (120CC158)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Static' added. (120CC2D8)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (120CC458)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (120CC5D8)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (120D2098)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (120D2218)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (120D2398)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (120D2518)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (120D2698)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (120D2818)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (120D2998)
05/09/2011 12:28:18 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
05/09/2011 12:28:18 (Std)    WindowRendererFactory 'Falagard/Tree' added. (120D2B18)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/Button' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'WindowsLook/Checkbox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/IconButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/IconButton' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'WindowsLook/RadioButton' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'WindowsLook/FrameWindow' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'WindowsLook/Titlebar' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/SystemButton' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'WindowsLook/Editbox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'WindowsLook/MultiLineEditbox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'WindowsLook/Menubar' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'WindowsLook/PopupMenu' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'WindowsLook/MenuItem' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'WindowsLook/ProgressBar' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'WindowsLook/VerticalScrollbar' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'WindowsLook/HorizontalScrollbar' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/VerticalScrollbarThumb' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/HorizontalScrollbarThumb' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'WindowsLook/TabButton' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'WindowsLook/TabControl' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/TabContentPane' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/TabButtonPane' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'WindowsLook/ComboDropList' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/Combobox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'WindowsLook/Listbox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'WindowsLook/ListHeader' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'WindowsLook/ListHeaderSegment' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'WindowsLook/MultiColumnList' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'WindowsLook/Slider' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/SliderThumb' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'WindowsLook/ScrollablePane' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/Spinner' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'WindowsLook/Tooltip' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/Static' using base type 'DefaultWindow', window renderer 'Falagard/Static' Look'N'Feel 'WindowsLook/Static' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'WindowsLook/StaticImage' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'WindowsLook/StaticText' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'WindowsLook/ItemListbox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'WindowsLook/ListboxItem' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Creating falagard mapping for type 'WindowsLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/GroupBox' and RenderEffect ''. (0C13C218)
05/09/2011 12:28:18 (Std)    Started creation of Font from XML specification:
05/09/2011 12:28:18 (Std)    ---- CEGUI font name: DejaVuSans-10
05/09/2011 12:28:18 (Std)    ----       Font type: FreeType
05/09/2011 12:28:18 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
05/09/2011 12:28:18 (Std)    ---- Real point size: 10
05/09/2011 12:28:18 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.
05/09/2011 12:28:19 (Error)   CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'HorizontalSlider' available in the set.
05/09/2011 12:28:19 (Error)   CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'HorizontalSlider' available in the set.
05/09/2011 12:28:19 (Error)   CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'HorizontalSlider' available in the set.
05/09/2011 12:28:19 (Error)   CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'HorizontalSlider' available in the set.
05/09/2011 12:28:19 (Error)   CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'HorizontalSlider' available in the set.
05/09/2011 12:28:19 (Std)    Started creation of Scheme from XML specification:
05/09/2011 12:28:19 (Std)    ---- CEGUI GUIScheme name: TaharezLook
05/09/2011 12:28:19 (Std)    Started creation of Imageset from XML specification:
05/09/2011 12:28:19 (Std)    ---- CEGUI Imageset name: TaharezLook
05/09/2011 12:28:19 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
05/09/2011 12:28:19 (Std)    Started creation of Font from XML specification:
05/09/2011 12:28:19 (Std)    ---- CEGUI font name: DejaVuSans-10
05/09/2011 12:28:19 (Std)    ----       Font type: FreeType
05/09/2011 12:28:19 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
05/09/2011 12:28:19 (Std)    ---- Real point size: 10
05/09/2011 12:28:19 (Std)    ---- Returning existing instance of Font named 'DejaVuSans-10'.
05/09/2011 12:28:19 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
05/09/2011 12:28:19 (Std)    ===== Look and feel parsing completed =====
05/09/2011 12:28:19 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabContentPane' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabButtonPane' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:19 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'TaharezLook/ItemListbox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'TaharezLook/ListboxItem' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/GroupBox' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' Look'N'Feel 'TaharezLook/Tree' and RenderEffect ''. (0C13C1E0)
05/09/2011 12:28:20 (Std)    Attempting to create Imageset 'Buttons' with texture only.


It's in a try-catch block but nothing gets caught:

Code: Select all

     

           Texture* texturePtr = &System::getSingleton().getRenderer()->createTexture("Control_Buttons.png", "imagesets");
           Imageset* ButtonsImageset = &ImagesetManager::getSingleton().create("Buttons", *texturePtr);
      ButtonsImageset->defineImage("ButtonUp", Point(0.0f,0.0f), Size( 1.0f, 1.0f ), Point(0.0f,0.0f));
           ButtonsImageset->defineImage("ButtonDown", Point(0.0f,0.0f), Size( 1.0f, 1.0f ), Point(0.0f,0.0f));
       
      PushButton* playButton = (PushButton*)CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/ImageButton", "playButton");
      this->rootWindow->addChildWindow( playButton );
      playButton->setPosition( UVector2( UDim( 0.0f, 0.0f ), UDim( 0.0f, 0.0f ) ) );
      playButton->setSize( UVector2( UDim( 0.5f, 0.0f ), UDim( 0.5f, 0.0f ) ) );
      playButton->setProperty( "NormalImage", "set:Buttons image:ButtonUp" );
      playButton->setProperty( "HoverImage", "set:Buttons image:ButtonUp" );
      playButton->setProperty( "PushedImage", "set:Buttons image:ButtonDown" );
          playButton->setProperty( "DisabledImage", "set:Buttons image:ButtonUp" );


This is the tutorial I am following:
http://www.cegui.org.uk/wiki/index.php/The_Main_Menu#Imagesets

I had to change this line as I presume the api changed slightly since this tutorial was posted:

Code: Select all

     Imageset* ButtonsImageset = &ImagesetManager::getSingleton().create("Buttons", *texturePtr);


Thanks for any help.

DozyHole
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Mar 22, 2011 23:22

Re: [SOLVED]Image Button?

Postby DozyHole » Mon Sep 05, 2011 15:26

It was this line:

Code: Select all

          ButtonsImageset->defineImage("ButtonUp", Point(0.0f,0.0f), Size( 100.0f, 100.0f ), Point(0.0f,0.0f));

I had the size values at 1.0, 1.0 thinking they were relative, they are absolute:)

Thanks to anyone who may have looked over this for me.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: [SOLVED]Image Button?

Postby Jamarr » Tue Sep 06, 2011 17:58

I am glad that you figured it out without needing any outside help. That is the best method for improving our own abilities! And thanks for posting the solution ;)
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 18 guests