Search found 12 matches
- Mon Jun 15, 2009 09:56
- Forum: Help
- Topic: How to disable logging?
- Replies: 2
- Views: 3052
Re: How to disable logging?
Include this code in your source before use CEGUI first time to disable CEGUI.log. class NoLogger : public CEGUI::Logger { void logEvent (const CEGUI::String&, CEGUI::LoggingLevel) { } void setLogFilename(const CEGUI::String&, bool) { } }; NoLogger nL;
- Wed Apr 08, 2009 22:11
- Forum: Help
- Topic: Delete Window object after removeChild method. [solved]
- Replies: 1
- Views: 2749
Delete Window object after removeChild method. [solved]
Hello. I have a Window in other Window. If I remove the Window from the Window ( :roll: ), should I delete the removed window? must I delete the removed window? Window* win1 = ... ... Window* win2 = new Window("TaharezLook/StaticText","win2"); win1->addChildWindow(win...
- Tue Mar 24, 2009 21:32
- Forum: Help
- Topic: Tooltip if Window is disabled?
- Replies: 1
- Views: 2168
Tooltip if Window is disabled?
Hi again.
When I disabled a Button, its tooltips isn't shown. Can I force it? I want to avoid a new layer on top button.
Thanks.
Edit: How align left tooltip text?
When I disabled a Button, its tooltips isn't shown. Can I force it? I want to avoid a new layer on top button.
Thanks.
Edit: How align left tooltip text?
- Sun Mar 22, 2009 10:07
- Forum: Help
- Topic: How can I remove an event if it is executing? [solved]
- Replies: 4
- Views: 2592
- Sun Mar 22, 2009 09:04
- Forum: Help
- Topic: How can I remove an event if it is executing? [solved]
- Replies: 4
- Views: 2592
- Sat Mar 21, 2009 19:11
- Forum: Help
- Topic: How can I remove an event if it is executing? [solved]
- Replies: 4
- Views: 2592
How can I remove an event if it is executing? [solved]
Hi. My code is: ... button->subscribeEvent(PushButton::EventMouseClick, Event::Subscriber (&MyClass::onEventClick, this)); ... bool MyClass::onEventClick (const CEGUI::EventArgs& pEventArgs) { button->removeAllEvents(); // I want to subscribe another even...
- Thu Mar 05, 2009 18:27
- Forum: Help
- Topic: Same event to all Button element. [solved]
- Replies: 1
- Views: 1915
Same event to all Button element. [solved]
Hello.
How can I set the same event-function for all Button? I want to play a sound when whatever button is pushed.
Thanks.
for each Button
{
button->subscribeEvent(PushButton::EventMouseClick, Event::Subscriber(&MyClass::playSound, this));
}
How can I set the same event-function for all Button? I want to play a sound when whatever button is pushed.
Thanks.
for each Button
{
button->subscribeEvent(PushButton::EventMouseClick, Event::Subscriber(&MyClass::playSound, this));
}
- Sun Feb 15, 2009 14:01
- Forum: Help
- Topic: Long lines in StaticText [solved]
- Replies: 1
- Views: 2118
Long lines in StaticText [solved]
Hi.
When a line is longer than StaticText's width, the line is hidden by the border. Could I insert a newline when this occurs (automatically)?
Thanks.
When a line is longer than StaticText's width, the line is hidden by the border. Could I insert a newline when this occurs (automatically)?
Thanks.
- Fri Feb 06, 2009 18:54
- Forum: Help
- Topic: Change mouse sensibility [solved]
- Replies: 1
- Views: 1627
Change mouse sensibility [solved]
Hello.
Could I change the mouse senbility with CEGUI?
Thanks
Could I change the mouse senbility with CEGUI?
Thanks
- Tue Feb 03, 2009 21:57
- Forum: Help
- Topic: Select row in MultiColumnList [solved]
- Replies: 0
- Views: 3180
Select row in MultiColumnList [solved]
Hello. When I click over a row in a MultiColumnList, it isn't selected. How can I select it? Thanks Edit: http://www.cegui.org.uk/gallery/displayimage.php?album=2&pos=1 http://www.cegui.org.uk/gallery/displayimage.php?album=2&pos=5 In that screenshots, when a row is selected, the background ...
- Fri Jan 23, 2009 10:01
- Forum: Help
- Topic: utf8 with CEGUI? [solved]
- Replies: 1
- Views: 1464
utf8 with CEGUI? [solved]
Hello again.
How can I enable utf8 code for text in CEGUI? I want to use accents and other strange chars.
Thanks
How can I enable utf8 code for text in CEGUI? I want to use accents and other strange chars.
Thanks
- Fri Jan 23, 2009 08:24
- Forum: Help
- Topic: Fullscreen blocks my mouse when program ends (solved)
- Replies: 0
- Views: 2877
Fullscreen blocks my mouse when program ends (solved)
Hello (my first post). When I finish the program, if screen is on fullscreen, the mouse is blocked in center of screen. I tried to delete myRenderer object but the problem persists. When this occurs, I have to reset the X. Do you know what is the error? I'm using SDL and CEGUI. Thanks. Solved: SDL w...