Crazy Eddie's GUI System  0.8.4
CEGUI::FalagardItemListbox Class Reference

ItemListbox class for the FalagardBase module. More...

+ Inheritance diagram for CEGUI::FalagardItemListbox:
+ Collaboration diagram for CEGUI::FalagardItemListbox:

List of all members.

Public Member Functions

 FalagardItemListbox (const String &type)
 Constructor.
void render ()
 Populate render cache.
Rectf getItemRenderArea (void) const
 Return a Rect object describing, in un-clipped pixels, the window relative area that is to be used for rendering list items.
Rectf getUnclippedInnerRect () const
 Get unclipped inner rectangle that our window should return from its member function with the same name.

Static Public Attributes

static const String TypeName
 type name for this widget.

Protected Member Functions

Rectf getItemRenderingArea (bool hscroll, bool vscroll) const
void onLookNFeelAssigned ()
 Handler called when a Look'N'Feel is assigned to our window.
void onLookNFeelUnassigned ()
 Handler called when a Look'N'Feel is removed/unassigned from our window.

Protected Attributes

bool d_widgetLookAssigned
 flag whether target window has looknfeel assigned yet.

Detailed Description

ItemListbox class for the FalagardBase module.

This class requires LookNFeel to be assigned. The LookNFeel should provide the following:

States:

  • Enabled
  • Disabled

Named Areas:

  • ItemRenderArea
  • ItemRenderAreaHScroll
  • ItemRenderAreaVScroll
  • ItemRenderAreaHVScroll
  • - OR -
  • ItemRenderingArea
  • ItemRenderingAreaHScroll
  • ItemRenderingAreaVScroll
  • ItemRenderingAreaHVScroll

Member Function Documentation

Return a Rect object describing, in un-clipped pixels, the window relative area that is to be used for rendering list items.

Returns:
Rect object describing the window relative area of the that is to be used for rendering the items.

Implements CEGUI::ItemListBaseWindowRenderer.

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.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends