Search found 12 matches

by Toge
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;
by Toge
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...
by Toge
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?
by Toge
Sun Mar 22, 2009 10:07
Forum: Help
Topic: How can I remove an event if it is executing? [solved]
Replies: 4
Views: 2592

I have this code now: Event::Connection connection; ... connection = button->subscribeEvent(PushButton::EventMouseClick, Event::Subscriber (&MyClass::onEventClick, this)); ... bool MyClass::onEventClick (const CEGUI::EventArgs& pEventArgs) { connection->disconnec...
by Toge
Sun Mar 22, 2009 09:04
Forum: Help
Topic: How can I remove an event if it is executing? [solved]
Replies: 4
Views: 2592

You are right. When I click button, multiple events are executed. Im go to use "disconnect". Thanks.
by Toge
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...
by Toge
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));

}
by Toge
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.
by Toge
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
by Toge
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 ...
by Toge
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
by Toge
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...

Go to advanced search