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. |
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.
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] |
Setup size and position for the item widgets attached to this Menubar.
Implements CEGUI::ItemListBase.
References CEGUI::Size::d_height, CEGUI::MenuBase::d_itemSpacing, CEGUI::Rect::d_left, CEGUI::ItemListBase::d_listItems, CEGUI::Size::d_width, CEGUI::ItemListBase::getItemRenderArea(), CEGUI::URect::setPosition(), CEGUI::URect::setSize(), and CEGUI::VA_CENTRE.
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.
class_name | The class name that is to be checked. |
Reimplemented from CEGUI::MenuBase.
References CEGUI::MenuBase::testClassName_impl().