CEGUI::ListboxTextItem::setMouseCursor function

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

User avatar
kungfoomasta
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Apr 06, 2005 08:25

CEGUI::ListboxTextItem::setMouseCursor function

Postby kungfoomasta » Wed Mar 14, 2007 17:15

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

User avatar
kungfoomasta
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Apr 06, 2005 08:25

Postby kungfoomasta » Fri Mar 16, 2007 20:19

Hm, nobody replied, but through reading the forum, I found a link to a wiki page that provides some important information!

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 9 guests