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

Base class for Listbox window renderer. More...

+ Inheritance diagram for CEGUI::ListboxWindowRenderer:
+ Collaboration diagram for CEGUI::ListboxWindowRenderer:

List of all members.

Public Member Functions

 ListboxWindowRenderer (const String &name)
 Constructor.
virtual Rectf getListRenderArea (void) const =0
 Return a Rect object describing, in un-clipped pixels, the window relative area that is to be used for rendering list items.
virtual void resizeListToContent (bool fit_width, bool fit_height) const =0

Detailed Description

Base class for Listbox window renderer.


Member Function Documentation

virtual void CEGUI::ListboxWindowRenderer::resizeListToContent ( bool  fit_width,
bool  fit_height 
) const [pure virtual]

Resize the Listbox the renderer is attached to such that it's content can be displayed without needing scrollbars if there is enough space, otherwise make the Listbox as large as possible (without moving it).

Implemented in CEGUI::FalagardListbox.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends