Code: Select all
// Sample sub-class for ListboxTextItem that auto-sets the selection brush
// image. This saves doing it manually every time in the code.
class MyListItem : public CEGUI::ListboxTextItem
MyListItem(const CEGUI::String& text) : ListboxTextItem(text)
I set the selectionBrushImage successfully.But found that the colour is so blue.And my image is red.
How to keep the image’s colour?
Can you help me?
Thank you very much!!!!!