Search found 8 matches
- Tue Jul 19, 2016 19:06
- Forum: Help
- Topic: ListboxItemText selection brush padding.
- Replies: 2
- Views: 4034
ListboxItemText selection brush padding.
Hi, I'm trying to add a padding to the selection brush in a Combobox. I have created a subclass of ListboxTextItem for creating my custom items. In the constructor of this subclass I am appending the string "[padding='l:5 t:3 r:0 b:3']" to create the required padding, but then, when an ite...
- Wed Sep 18, 2013 06:06
- Forum: Help
- Topic: [SOLVED]Buttons, Labels, etc. not rendering when in Debug
- Replies: 3
- Views: 2735
Re: Buttons, Labels, etc. not rendering when in Debug mode
SOLVED The problem is that you must initialize UVector2 with values for both scale and offset (set 0.0 to scale if you are working with offset). Looks like in Release mode they are set to 0.0 by default (by the compiler) but not in Debug mode, so initialization is required (I was used to my vector c...
- Mon Sep 16, 2013 21:49
- Forum: Help
- Topic: [SOLVED]Buttons, Labels, etc. not rendering when in Debug
- Replies: 3
- Views: 2735
Re: Buttons, Labels, etc. not rendering when in Debug mode
it is strange, because even in release mode, sometimes it fails. If I set a position to an element, even if is the same position it has, the element will not be visible. It has to be a cegui bug, i will try to examine the code...
- Fri Sep 13, 2013 02:50
- Forum: Help
- Topic: [SOLVED]Buttons, Labels, etc. not rendering when in Debug
- Replies: 3
- Views: 2735
[SOLVED]Buttons, Labels, etc. not rendering when in Debug
Hi! I am using VS2010 and cegui 0.7.2, I haven't had problems until now. VS configuration is ok, include path, lib path and *_d.lib to use, also *_d.dll are on their place. I have a problem visualizing this elements when they are created dynamically and in Debug mode. If I run the Release configurat...
- Tue Mar 02, 2010 01:41
- Forum: Help
- Topic: Exception when subscribing an event
- Replies: 1
- Views: 1409
Exception when subscribing an event
Hi, I have the following code: class GUI{ public: bool onRightClick(const EventArgs& pEventArgs) { const MouseEventArgs mouseEventArgs = static_cast<const MouseEventArgs&>(pEventArgs); if(mouseEventArgs.button == CEGUI::RightButton) { exit(0); //return false; // Do not propagate this event t...
- Mon Mar 01, 2010 23:01
- Forum: Help
- Topic: [SOLVED] Assertion failed! ms_Singleton
- Replies: 4
- Views: 2856
Re: Assertion failed! ms_Singleton
It worked, thanks!!
- Mon Mar 01, 2010 22:24
- Forum: Help
- Topic: [SOLVED] Assertion failed! ms_Singleton
- Replies: 4
- Views: 2856
Re: Assertion failed! ms_Singleton
sorry i forgot to post the log :( 01/03/2010 22:49:27 (Std) ******************************************************************************** 01/03/2010 22:49:27 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- * 01/03/2010 22:49:27 (Std) ********************************...
- Mon Mar 01, 2010 22:04
- Forum: Help
- Topic: [SOLVED] Assertion failed! ms_Singleton
- Replies: 4
- Views: 2856
[SOLVED] Assertion failed! ms_Singleton
Hi all! I have been trying to get CEGUI work in a little game i am making, but I have a problem i can´t solve after reading here and there... I have this error message when i try to load a scheme with the SchemeManager: http://img59.imageshack.us/img59/8965/errorcegui.jpg Here is the code of my CEGU...