8 #ifndef CO_ROWMENUITEM_H
9 #define CO_ROWMENUITEM_H
16 class coMenuContainer;
17 class coColoredBackground;
40 coRowMenuItem(
const std::string &symbolicName,
const std::string &labelString);
42 virtual void setLabel(
coLabel *label);
44 void setLabel(
const std::string &labelString);
48 virtual const char *getClassName()
const;
50 virtual bool isOfClassName(
const char *)
const;
53 virtual void setActive(
bool a);
55 virtual void selected(
bool selected);
static const int LEFTMARGIN
size of margin at left edge of menu item
Definition: coRowMenuItem.h:33
coLabel * label
label text
Definition: coRowMenuItem.h:36
Definition: coRowMenuItem.h:30
coColoredBackground * background
menu item background which changes its color when menu item is selected
Definition: coRowMenuItem.h:35
Definition: coMenuContainer.h:19
coMenuContainer * container
container to store menu elements
Definition: coRowMenuItem.h:34
Definition: coUIElement.h:52
Definition: coColoredBackground.h:23
Definition: coMenuItem.h:44