8#ifndef CO_ROWMENUITEM_H
9#define CO_ROWMENUITEM_H
17class coColoredBackground;
40 coRowMenuItem(
const std::string &symbolicName,
const std::string &labelString);
44 void setLabel(
const std::string &labelString)
override;
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coColoredBackground.h:24
Definition: coMenuContainer.h:20
Definition: coMenuItem.h:45
Definition: coRowMenuItem.h:31
coLabel * label
label text
Definition: coRowMenuItem.h:36
coMenuContainer * container
container to store menu elements
Definition: coRowMenuItem.h:34
const char * getClassName() const override
get the Element's classname
coColoredBackground * background
menu item background which changes its color when menu item is selected
Definition: coRowMenuItem.h:35
static const int LEFTMARGIN
size of margin at left edge of menu item
Definition: coRowMenuItem.h:33
void setActive(bool a) override
activates or deactivates the item
bool isOfClassName(const char *) const override
check if the Element or any ancestor is this classname
void selected(bool selected) override
MenuItem is selected via joystick.
void setVisible(bool visible) override
coRowMenuItem(const std::string &labelString)
void setLabel(const std::string &labelString) override
this function may be overloaded - it is called by setName()
coUIElement * getUIElement() override
virtual void setLabel(coLabel *label)
coRowMenuItem(const std::string &symbolicName, const std::string &labelString)
Definition: coUIElement.h:53