CEGUI::FalagardListbox Class Reference

Listbox class for the FalagardBase module. More...

Inheritance diagram for CEGUI::FalagardListbox:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::FalagardListbox:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FalagardListbox (const String &type)
 Constructor.
void cacheListboxBaseImagery ()
 Perform caching of the widget control frame and other 'static' areas. This method should not render the actual items. Note that the items are typically rendered to layer 3, other layers can be used for rendering imagery behind and infront of the items.
void render ()
 Populate render cache.
Rect getListRenderArea (void) const
 Return a Rect object describing, in un-clipped pixels, the window relative area that is to be used for rendering list items.

Static Public Attributes

static const utf8 TypeName [] = "Falagard/Listbox"
 type name for this widget.


Detailed Description

Listbox class for the FalagardBase module.

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

States:

Named Areas:

Child Widgets: Scrollbar based widget with name suffix "__auto_vscrollbar__" Scrollbar based widget with name suffix "__auto_hscrollbar__"


Member Function Documentation

void CEGUI::FalagardListbox::cacheListboxBaseImagery (  ) 

Perform caching of the widget control frame and other 'static' areas. This method should not render the actual items. Note that the items are typically rendered to layer 3, other layers can be used for rendering imagery behind and infront of the items.

Returns:
Nothing.

References CEGUI::WindowRenderer::d_window, CEGUI::WindowRenderer::getLookNFeel(), CEGUI::WidgetLookFeel::getStateImagery(), CEGUI::Window::isDisabled(), and CEGUI::StateImagery::render().

Referenced by render().

Rect CEGUI::FalagardListbox::getListRenderArea ( void   )  const [virtual]

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 area of the Window to be used for rendering list box items.

Implements CEGUI::ListboxWindowRenderer.

References CEGUI::WindowRenderer::d_window, CEGUI::NamedArea::getArea(), CEGUI::Listbox::getHorzScrollbar(), CEGUI::WindowRenderer::getLookNFeel(), CEGUI::WidgetLookFeel::getNamedArea(), CEGUI::ComponentArea::getPixelRect(), CEGUI::Listbox::getVertScrollbar(), CEGUI::WidgetLookFeel::isNamedAreaDefined(), and CEGUI::Window::isVisible().

Referenced by render().

void CEGUI::FalagardListbox::render (  )  [virtual]


Generated on Thu Nov 27 20:34:44 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1