handling events in c++

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

pswin
Just popping in
Just popping in
Posts: 5
Joined: Wed Jun 24, 2009 08:35

handling events in c++

Postby pswin » Mon Jun 29, 2009 20:24

hi

how can i hanle events in the c++? ( i'm using OpenGL renderer and SDL)

i use this code but its generate a runtime error and i dont konw what is wrong?:

events.cpp:

Code: Select all

Events::Events()
{
   
      CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton();

         CEGUI::Window *w = wmgr.getWindow("btn1");
         
         w->setText ("hi"); // it works correclty and btn1 text changed to hi
         w->subscribeEvent(CEGUI::PushButton::EventClicked ,
         CEGUI::Event::Subscriber(&Events::Btn_Clicked , this)); // run time error occur here
}

bool Events::Btn_Clicked(const CEGUI::EventArgs &e)
{
   std::cout << "yes" << std::endl;
   return true;
};


events.h:

Code: Select all

class Events
{
public:
   Events();

   ~Events(){};

protected:
   bool Btn_Clicked(const CEGUI::EventArgs& e);
};


creating btn routine:

Code: Select all

   CEGUI::PushButton *btn = static_cast<CEGUI::PushButton*>(wmgr.createWindow("TaharezLook/Button","btn1") );
   fWnd->addChildWindow(btn);
   btn->setPosition(CEGUI::UVector2(cegui_reldim(0.35f), cegui_reldim( 0.8)));
   btn->setSize(CEGUI::UVector2(cegui_reldim(0.3f), cegui_reldim( 0.1f)));
   btn->setText("Apply");

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

Re: handling events in c++

Postby valvalval » Tue Jun 30, 2009 08:52

hm.. you can do it with functor.

Code: Select all

struct ClickEvent
{
    bool operator() ( const CEGUI::EventArgs& args ) const;
};

ClickEvent* pEvent = new ClickEvent();
m_pEventPanel->subscribeEvent( CEGUI::Window::EventMouseClick, CEGUI::Event::Subscriber(pEvent);



it's going work out. I'm using this code.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: handling events in c++

Postby CrazyEddie » Tue Jun 30, 2009 09:15

Runtime errors generally indicate some configuration issue or other, but you posted no relevant information...

Operating system?
Compiler? Compiler service packs?
Compiler configuration?
Prebuilt or self-built CEGUI?
CEGUI log?
Debug callstack / backtrace?

CE.

pswin
Just popping in
Just popping in
Posts: 5
Joined: Wed Jun 24, 2009 08:35

Re: handling events in c++

Postby pswin » Tue Jun 30, 2009 15:04

OS : Win Vista
compailer: VC++ 2008 professional
log: nothing in log file

error: unhandled exeption error

can anyone send me some plain source code for handling events?

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

Re: handling events in c++

Postby Jamarr » Tue Jun 30, 2009 17:18

viewtopic.php?f=10&t=4172&p=19141#p19141

You obviously did not take my advice. And now you are double-posting...sometimes I feel like there should be a programming 101 and internet etiquette tests you have to pass before being allowed to post on any libraries forums.
:hammer:
1) Always put try/catch blocks around code that can/is throwing an exception
2) Whenever you have an exception / runtime error always post your CEGUI.log file, even if you don't think anything is noted there
3) Always, always, always post the CALLSTACK / BACKTRACE when you have a runtime error - this is what leads you to a solution 90% of the time!
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!

pswin
Just popping in
Just popping in
Posts: 5
Joined: Wed Jun 24, 2009 08:35

Re: handling events in c++

Postby pswin » Wed Jul 01, 2009 06:02

thanks for ur help and advise

but this is not an anserw , r u have a source code? for handling events in the c++ ?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: handling events in c++

Postby CrazyEddie » Wed Jul 01, 2009 08:52

Actually I thought it was a pretty decent answer, considering.

I had not realised this was a repost of something from earlier, otherwise you would have had a totally different response from me. In future do not ignore advice and requests for additional information and post the same question again a week later.

Your code looks fine. Why do you think we are asking for the diagnostic information that we are? It's not because we find it funny to do that, but rather it's the only way we can try and help. If you don't post the requested information we have no way of helping you.

CE.

earthsruler
Quite a regular
Quite a regular
Posts: 74
Joined: Mon Apr 28, 2008 23:21
Location: Australia

Re: handling events in c++

Postby earthsruler » Thu Jul 02, 2009 00:03

You said there was nothing in your log, did you disable logging? If not id say your error is happening before CEGUI is initialised.
Which begs the question: If CEGUI isn't initialised, why are you trying to subscribe a callback function?

Also out of curiosity, are you debugging in debug, or release?

pswin
Just popping in
Just popping in
Posts: 5
Joined: Wed Jun 24, 2009 08:35

Re: handling events in c++

Postby pswin » Thu Jul 02, 2009 12:27

no
i have log file, but i can't find any error in it:

log content:

Code: Select all

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

01/07/2009 19:02:28 (Std)    CEGUI::Logger singleton created. (02009778)
01/07/2009 19:02:28 (Std)    ---- Begining CEGUI System initialisation ----
01/07/2009 19:02:28 (Std)    CEGUI::ImagesetManager singleton created (0215BFC8)
01/07/2009 19:02:28 (Std)    CEGUI::FontManager singleton created. (0215D1C0)
01/07/2009 19:02:28 (Std)    CEGUI::WindowFactoryManager singleton created
01/07/2009 19:02:28 (Std)    CEGUI::WindowManager singleton created (02009DD8)
01/07/2009 19:02:28 (Std)    CEGUI::SchemeManager singleton created. (0215AF90)
01/07/2009 19:02:28 (Std)    CEGUI::MouseCursor singleton created. (0215AB78)
01/07/2009 19:02:28 (Std)    CEGUI::GlobalEventSet singleton created. (0215C790)
01/07/2009 19:02:28 (Std)    CEGUI::WidgetLookManager singleton created. (02001178)
01/07/2009 19:02:28 (Std)    CEGUI::WindowRendererManager singleton created (0215A5D8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'DefaultWindow' windows added. (61A5F778)
01/07/2009 19:02:28 (Std)    WindowFactory for 'DragContainer' windows added. (61A5F818)
01/07/2009 19:02:28 (Std)    WindowFactory for 'ScrolledContainer' windows added. (61A5F8B8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'ClippedContainer' windows added. (61A5F958)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (61A5F9F8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (61A60358)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (61A603F8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (61A5FB38)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (61A5FA98)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (61A5FBD8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (61A5FC78)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (61A5FD18)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (61A5FEF8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (61A5FDB8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (61A5FE58)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (61A60038)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (61A60218)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (61A5FF98)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (61A600D8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (61A60178)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (61A602B8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (61A60498)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (61A60538)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (61A605D8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (61A60678)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (61A60718)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (61A607B8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (61A60858)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (61A608F8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (61A60998)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (61A60A38)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (61A60AD8)
01/07/2009 19:02:28 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (61A60B78)
01/07/2009 19:02:28 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
01/07/2009 19:02:28 (Std)    CEGUI::System singleton created. (001E57A8)
01/07/2009 19:02:28 (Std)    ---- CEGUI System initialisation completed ----
01/07/2009 19:02:28 (Std)    ---- Version 0.6.2 ----
01/07/2009 19:02:28 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
01/07/2009 19:02:28 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
01/07/2009 19:02:28 (Std)    ---- Scripting module is: None ----
01/07/2009 19:02:28 (Std)    Attempting to create an Imageset from the information specified in file 'TaharezLook.imageset'.
01/07/2009 19:02:28 (Std)    Started creation of Imageset from XML specification:
01/07/2009 19:02:28 (Std)    ---- CEGUI Imageset name: TaharezLook
01/07/2009 19:02:28 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
01/07/2009 19:02:28 (Std)    Attempting to load Scheme from file 'TaharezLook.scheme'.
01/07/2009 19:02:28 (Std)    Attempting to create Font from the information specified in file 'Commonwealth-10.font'.
01/07/2009 19:02:28 (Std)    Started creation of FreeType Font:
01/07/2009 19:02:28 (Std)    ---- CEGUI font name: Commonwealth-10
01/07/2009 19:02:28 (Std)    ----     Source file: Commonv2c.ttf in resource group: (Default)
01/07/2009 19:02:28 (Std)    ---- Real point size: 10
01/07/2009 19:02:28 (Std)    Succsessfully loaded 219 glyphs
01/07/2009 19:02:28 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
01/07/2009 19:02:28 (Std)    ===== Look and feel parsing completed =====
01/07/2009 19:02:28 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Button' added. (6537E538)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Default' added. (6537E718)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (6537D778)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (6537E678)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (6537DC78)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (6537D638)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (6537D9F8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (6537E358)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (6537DA98)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (6537DF98)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (6537DE58)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (6537D6D8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (6537E2B8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (6537DB38)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (6537E3F8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (6537E218)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Slider' added. (6537E498)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Static' added. (6537E178)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (6537E5D8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (6537DEF8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (6537DBD8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (6537DD18)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (6537D8B8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (6537E0D8)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (6537D958)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (6537D818)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (6537E038)
01/07/2009 19:02:28 (Std)    WindowRendererFactory 'Falagard/Tree' added. (6537DDB8)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/Button'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/Checkbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/ImageButton'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/RadioButton'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'TaharezLook/FrameWindow'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'TaharezLook/Titlebar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/SystemButton' and Look'N'Feel 'TaharezLook/Button'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/Editbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'TaharezLook/MultiLineEditbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' and Look'N'Feel 'TaharezLook/Menubar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' and Look'N'Feel 'TaharezLook/PopupMenu'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' and Look'N'Feel 'TaharezLook/MenuItem'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/AltProgressBar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/ProgressBar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/VUMeter'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/VerticalScrollbar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/HorizontalScrollbar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/VerticalScrollbarThumb'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbar'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' and Look'N'Feel 'TaharezLook/TabButton'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' and Look'N'Feel 'TaharezLook/TabControl'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabContentPane'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabButtonPane'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/ComboDropList'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/ComboEditbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Combobox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/Listbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' and Look'N'Feel 'TaharezLook/ListHeader'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' and Look'N'Feel 'TaharezLook/ListHeaderSegment'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' and Look'N'Feel 'TaharezLook/MultiColumnList'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' and Look'N'Feel 'TaharezLook/Slider'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/SliderThumb'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' and Look'N'Feel 'TaharezLook/ScrollablePane'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Spinner'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' and Look'N'Feel 'TaharezLook/Tooltip'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'TaharezLook/StaticImage'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'TaharezLook/StaticText'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' and Look'N'Feel 'TaharezLook/ItemListbox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' and Look'N'Feel 'TaharezLook/ListboxItem'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/GroupBox'. (0018D060)
01/07/2009 19:02:28 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' and Look'N'Feel 'TaharezLook/Tree'. (0018D060)
01/07/2009 19:02:28 (Std)    Attempting to create Font from the information specified in file 'DejaVuSans-10.font'.
01/07/2009 19:02:28 (Std)    Started creation of FreeType Font:
01/07/2009 19:02:28 (Std)    ---- CEGUI font name: DejaVuSans-10
01/07/2009 19:02:28 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
01/07/2009 19:02:28 (Std)    ---- Real point size: 10
01/07/2009 19:02:28 (Std)    Succsessfully loaded 3045 glyphs
01/07/2009 19:02:28 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.

earthsruler
Quite a regular
Quite a regular
Posts: 74
Joined: Mon Apr 28, 2008 23:21
Location: Australia

Re: handling events in c++

Postby earthsruler » Thu Jul 30, 2009 02:11

you said the log had nothing in it, now it does and you ignored my other question on what configuration you are using to debug.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests