Nice.
deactivate() works as expected. I tried reversing the change before, but it caused recursive calls and stack overflow. But it doesn't matter since deactivate() works nice.
Thank you CE.
Search found 19 matches
- Tue Jun 03, 2008 08:25
- Forum: Help
- Topic: [solved] Preventing cegui control state change
- Replies: 3
- Views: 2739
- Tue Jun 03, 2008 06:47
- Forum: Help
- Topic: [solved] Custom EventArgs
- Replies: 8
- Views: 5366
- Mon Jun 02, 2008 16:24
- Forum: Help
- Topic: [solved] Custom EventArgs
- Replies: 8
- Views: 5366
Try changing from:
to:
So add a const and add make it a reference (add &).
Code: Select all
bool BuildMenuEventHandler(CEGUI::EventArgs e) { ... }to:
Code: Select all
bool BuildMenuEventHandler(const CEGUI::EventArgs &e) { ... }So add a const and add make it a reference (add &).
- Mon Jun 02, 2008 15:57
- Forum: Help
- Topic: [solved] Preventing cegui control state change
- Replies: 3
- Views: 2739
[solved] Preventing cegui control state change
Hello people. Is there a way to prevent a cegui control to change it's state in event handler. Let me clarify a bit: I have a checkbox for example, and I want to prevent the user from checking/unchecking it if a certain condition is fulfilled (whatever, some variable is > 10), and I check for that c...
- Tue May 27, 2008 11:11
- Forum: Help
- Topic: [solved] EventInputCaptureLost question...
- Replies: 2
- Views: 2219
- Mon May 26, 2008 16:37
- Forum: Help
- Topic: [solved] EventInputCaptureLost question...
- Replies: 2
- Views: 2219
[solved] EventInputCaptureLost question...
Hello! I need an event to be executed after a window loses input capture, so I'm using EventInputCaptureLost. However it doesn't seem to work the way (I think) it should. When there is no EventInputCapureGained registered (only EventInputCaptureLost is registered), EventInputCaptureLost is fired eac...
- Sat Apr 19, 2008 08:30
- Forum: Help
- Topic: [solved] Custom EventArgs
- Replies: 8
- Views: 5366
- Mon Apr 14, 2008 12:40
- Forum: Help
- Topic: [solved] Custom EventArgs
- Replies: 8
- Views: 5366
Here the problem: I have several Ogre mesh files defined inside a folder. I also have a menu in which I can select one of those meshes by clicking on a corresponding menu item. Since I don't know what meshes will be in that folder at compile time, I add one menu item for each mesh dynamically at run...
- Sun Apr 13, 2008 18:39
- Forum: Help
- Topic: [solved] Custom EventArgs
- Replies: 8
- Views: 5366
[solved] Custom EventArgs
Hello all. When I click a button i need to pass a string to the button-click event handler, so I defined a class derived from EventArgs (named MeshSelectedEventArgs) that contains that string. How can I pass the object of MeshSelectEventArgs type to the event handler? Here is the class: class MeshSe...
- Sun Feb 10, 2008 17:30
- Forum: Help
- Topic: [SOLVED] Different fonts in same layout
- Replies: 2
- Views: 2328
- Sun Feb 10, 2008 13:11
- Forum: Help
- Topic: [SOLVED] Different fonts in same layout
- Replies: 2
- Views: 2328
[SOLVED] Different fonts in same layout
Hello again. Can anyone tell me how to have different fonts in the same layout file? For example, I want to have two StaticText controls, each with different font. I was looking and GUILayout_xmlHandler code and there doesn't seem to be element or attribute to define font for an instance of control ...
- Tue Feb 05, 2008 11:33
- Forum: Help
- Topic: [SOLVED] QuadraticLook and CommonFileDialog
- Replies: 11
- Views: 6110
Hehe Yeah, you're right, someone did think about those things, though nothing much was written down or formally specified. Oh. :) You might consider CEGUI as my experiment as to what happens without BDUF, which is what I had kind of been a fan of previously. Not a fan of BDUF any more? I'm just the...
- Mon Feb 04, 2008 18:31
- Forum: Help
- Topic: [SOLVED] QuadraticLook and CommonFileDialog
- Replies: 11
- Views: 6110
- Mon Feb 04, 2008 17:00
- Forum: Help
- Topic: [SOLVED] QuadraticLook and CommonFileDialog
- Replies: 11
- Views: 6110
But on the other hand Cegui is very well written; there are nearly as many comments as code and the variable and function names are quite clear. Very good job. I agree. Same goes for OGRE. Wonder how long it took to complete just the design part for CEGUI? Is there some sort of design/technical doc...
- Sun Feb 03, 2008 18:13
- Forum: Help
- Topic: [SOLVED] QuadraticLook and CommonFileDialog
- Replies: 11
- Views: 6110