CEGUI::Menubar Class Reference

Base class for menu bars. More...

Inheritance diagram for CEGUI::Menubar:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Menubar (const String &type, const String &name)
 Constructor for Menubar objects.
virtual ~Menubar (void)
 Destructor for Menubar objects.

Static Public Attributes

static const String EventNamespace
 Namespace for global events.
static const String WidgetTypeName
 Window factory name.

Protected Member Functions

virtual void layoutItemWidgets ()
 Setup size and position for the item widgets attached to this Menubar.
virtual Size getContentSize () const
 Returns the Size in unclipped pixels of the content attached to this ItemListBase that is attached to it.
virtual bool testClassName_impl (const String &class_name) const
 Return whether this window was inherited from the given class name at some point in the inheritance hierarchy.


Detailed Description

Base class for menu bars.

Member Function Documentation

Size CEGUI::Menubar::getContentSize ( void   )  const [protected, virtual]

Returns the Size in unclipped pixels of the content attached to this ItemListBase that is attached to it.

Returns:
Size object describing in unclipped pixels the size of the content ItemEntries attached to this menu.

Implements CEGUI::ItemListBase.

References CEGUI::Size::d_height, CEGUI::MenuBase::d_itemSpacing, CEGUI::ItemListBase::d_listItems, and CEGUI::Size::d_width.

void CEGUI::Menubar::layoutItemWidgets ( void   )  [protected, virtual]

virtual bool CEGUI::Menubar::testClassName_impl ( const String class_name  )  const [inline, protected, virtual]

Return whether this window was inherited from the given class name at some point in the inheritance hierarchy.

Parameters:
class_name The class name that is to be checked.
Returns:
true if this window was inherited from class_name. false if not.

Reimplemented from CEGUI::MenuBase.

References CEGUI::MenuBase::testClassName_impl().


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