Search found 15 matches
- Sun Apr 29, 2007 00:18
- Forum: Help
- Topic: How to tell which popup menu item is selected?
- Replies: 12
- Views: 9856
- Mon Apr 23, 2007 00:26
- Forum: Help
- Topic: How to tell which popup menu item is selected?
- Replies: 12
- Views: 9856
How to tell which popup menu item is selected?
I'm trying to figure out how to get told when a popup menu item is selected. I believe there must be some event that tells me that an item was picked. However, the collaboration diagram in the documentation doesn't list any event that seems like a likely candidate. I also called menu->EventSet::getI...
- Sun Apr 22, 2007 16:22
- Forum: Help
- Topic: How to inject only when over frame window?
- Replies: 7
- Views: 5553
- Wed Apr 18, 2007 03:52
- Forum: Help
- Topic: How to inject only when over frame window?
- Replies: 7
- Views: 5553
How to inject only when over frame window?
I'm using CEGUI with Ogre. I have a number of frame windows that are all children of a GuiSheet that is loaded as a GuiLayout. I'm using OIS (the Ogre input system) in buffered mode, and injecting the events (mousemove, mousedown, etc). What I want to do is know whether the event actually happened o...
- Mon Apr 16, 2007 01:51
- Forum: Help
- Topic: Listbox doesn't draw added ListboxTextItems
- Replies: 5
- Views: 4246
- Sun Apr 15, 2007 17:27
- Forum: Help
- Topic: Listbox doesn't draw added ListboxTextItems
- Replies: 5
- Views: 4246
- Sun Apr 15, 2007 16:24
- Forum: Help
- Topic: Listbox doesn't draw added ListboxTextItems
- Replies: 5
- Views: 4246
I'm sure there's something crazy in my code, as I'm trying to learn this GUI toolkit without any kind of overview to guide me. As for the code: widgets_ is the list of widgets that I actually want to allow control of. Testing for the right type is necessary to avoid crashing in the case of wrong usa...
- Sun Apr 15, 2007 05:38
- Forum: Help
- Topic: Listbox doesn't draw added ListboxTextItems
- Replies: 5
- Views: 4246
Listbox doesn't draw added ListboxTextItems
I'm trying to learn CEGUI, but I'm having a hard time, because all the documentation is of the hands-on code kind, and there isn't really any documentation on how all the pieces are supposed to fit together. I have a layout that's loaded from a .layout file. It contains a TaharezLook/Listbox class. ...
- Sun Apr 15, 2007 04:19
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: Confusion with Demo7 ItemListBox
- Replies: 3
- Views: 4109
- Wed Mar 14, 2007 23:54
- Forum: Help
- Topic: AlreadyExistsException when calling loadWindowLayout()?
- Replies: 2
- Views: 2320
- Tue Mar 13, 2007 23:41
- Forum: Help
- Topic: AlreadyExistsException when calling loadWindowLayout()?
- Replies: 2
- Views: 2320
AlreadyExistsException when calling loadWindowLayout()?
I've worked around my HandleClicked() problem by deferreing deletion of the window layout until the event injection has returned. However, now I have a problem when showing a GUI for the second time. The flow control is something like: window = WindowManager::getSingleton().loadWindowLayout(name); g...
- Tue Mar 13, 2007 23:30
- Forum: Help
- Topic: System::injectMouseButtonUp() crashes when deleting GUI
- Replies: 3
- Views: 2895
- Sun Mar 11, 2007 01:23
- Forum: Help
- Topic: System::injectMouseButtonUp() crashes when deleting GUI
- Replies: 3
- Views: 2895
System::injectMouseButtonUp() crashes when deleting GUI
I have a button in a window which, when clicked, causes state to change, which causes the current GUI to be disposed and the GUI sheet reset to NULL. This causes the function injectMouseButtonUp() to crash sometime after the event has been dispatched and my action taken. Is this a known bug? The doc...
- Sat Mar 10, 2007 00:27
- Forum: Help
- Topic: HandleClicked handler not getting called
- Replies: 1
- Views: 2056
- Sat Mar 10, 2007 00:26
- Forum: Help
- Topic: HandleClicked handler not getting called
- Replies: 1
- Views: 2056
HandleClicked handler not getting called
I am loading a GUI layout, and then, for each widget that is a push button, I subscribe to HandleClicked. I have verified in the debugger that the subscription code is getting called. However, when clicking the buttons, the event handler does not get called. Here is the code: void LuaGui::Build(...