This is outlined in the following thread:
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=2467
Basically, CEGUI::ListboxTextItem class does not have a setMouseCursor function, and the only way to view a cursor over these items is by setting a global default mouse cursor.
I believe that code is something similar to:
CEGUI::System.getSingleton().setDefaultCursor(...);
This also enforces the mouse cursor look the same over all ListboxTextItems, regardless of how many ComboBoxes, ListBoxes, or other are used.
KungFooMasta
CEGUI::ListboxTextItem::setMouseCursor function
Moderators: CEGUI MVP, CEGUI Team
- kungfoomasta
- Not too shy to talk
- Posts: 34
- Joined: Wed Apr 06, 2005 08:25
- kungfoomasta
- Not too shy to talk
- Posts: 34
- Joined: Wed Apr 06, 2005 08:25
Hm, nobody replied, but through reading the forum, I found a link to a wiki page that provides some important information!
I will try this out later. Wonder why the difference in function names, and in functionality?
KungFooMasta
The choices are listbox text items (ListboxTextItem) added to the combobox via addItem(). These do not possess a selection indicator by default; one must be specified via setSelectionBrushImage().
I will try this out later. Wonder why the difference in function names, and in functionality?
KungFooMasta
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 2 guests