Public Member Functions | |
FalagardItemEntry (const String &type) | |
Constructor. | |
void | render () |
Populate render cache. | |
Size | getItemPixelSize () const |
Return the "optimal" size for the item. | |
Static Public Attributes | |
static const utf8 | TypeName [] = "Falagard/ItemEntry" |
type name for this widget. |
This class requires LookNFeel to be assigned. The LookNFeel should provide the following:
States:
Optional states:
You only need to provide the 'Selected' states if the item will be selectable. If if the item is selected (which implies that it is selectable) only the SelectedEnabled state will be rendered.
Named areas:
Size CEGUI::FalagardItemEntry::getItemPixelSize | ( | ) | const [virtual] |
Return the "optimal" size for the item.
Implements CEGUI::ItemEntryWindowRenderer.
References CEGUI::NamedArea::getArea(), CEGUI::WindowRenderer::getLookNFeel(), CEGUI::WidgetLookFeel::getNamedArea(), CEGUI::ComponentArea::getPixelRect(), and CEGUI::Rect::getSize().
void CEGUI::FalagardItemEntry::render | ( | ) | [virtual] |
Populate render cache.
This method must be implemented by all window renderers and should perform the rendering operations needed for this widget. Normally using the Falagard API...
Implements CEGUI::WindowRenderer.
References CEGUI::WindowRenderer::d_window, CEGUI::WindowRenderer::getLookNFeel(), CEGUI::WidgetLookFeel::getStateImagery(), CEGUI::Window::isDisabled(), CEGUI::ItemEntry::isSelectable(), CEGUI::ItemEntry::isSelected(), and CEGUI::StateImagery::render().