I tried to change the background colour of a CEGUI::MenuItem to indicate that this "option" is selected. I am using the WindowsLook looknfeel, so I checked the entry for MenuItem there. I added
and also<PropertyDefinition name="SelectedColour" initialValue="F0FF0000" redrawOnWrite="true" />
<StateImagery name="EnabledSelected">
<Layer>
<Section section="label">
<ColourProperty name="SelectedColour" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="DisabledSelected">
<Layer>
<Section section="label">
<ColourProperty name="DisabledSelectedColour" />
</Section>
</Layer>
</StateImagery>
Now, how do I change the colour during the runtime? I tried to use the methods of CEGUI::PropertySet, superclass of CEGUI::MenuItem but I actually do not know if I really created a new property, or if there is a property for the color. The alterations above I did based in the Falagard tutorial. What am I missing?
