|
| coToolboxMenu (const std::string &name="Toolbox", coMenu *parent=0, coRowContainer::Orientation orientation=coRowContainer::HORIZONTAL, int attachment=coUIElement::BOTTOM, int maxItems=0) |
| handle More...
|
|
virtual | ~coToolboxMenu () |
|
void | add (coMenuItem *) |
|
void | insert (coMenuItem *, int) |
|
void | remove (coMenuItem *) |
|
void | removeAll () |
|
int | getItemCount () const |
|
virtual void | setScale (float s) |
| Sets the menu size by applying a scaling factor to the default size. More...
|
|
virtual float | getScale () const |
| Gets the current scaling factor. More...
|
|
virtual void | setTransformMatrix (vruiMatrix *mat) |
|
virtual void | setTransformMatrix (vruiMatrix *mat, float scale) |
|
virtual void | setVisible (bool newState) |
|
vruiTransformNode * | getDCS () |
| Get Transformation Node. More...
|
|
virtual coUIElement * | getUIElement () |
|
virtual void | buttonEvent (coButton *) |
|
bool | update () |
|
void | show () |
| makes the menu visible More...
|
|
void | hide () |
| hides this menu More...
|
|
virtual void | setAttachment (int) |
|
virtual int | getAttachment () const |
|
virtual const char * | getClassName () const |
| get the Element's classname More...
|
|
virtual bool | isOfClassName (const char *) const |
| check if the Element or any ancestor is this classname More...
|
|
void | fixPos (bool doFix) |
| fix mmy menu's position More...
|
|
virtual void | selected (bool select) |
| Menu is selected via joystick. More...
|
|
virtual void | makeVisible (coMenuItem *item) |
| makes the item visible for joystick interaction More...
|
|
| coMenu (coMenu *parentMenu, const std::string &name) |
|
virtual | ~coMenu () |
| Sets the matrix which defines location and orientation. More...
|
|
virtual void | setMenuListener (coMenuFocusListener *listener) |
|
virtual int | hit (vruiHit *hit) |
|
virtual void | miss () |
|
virtual void | positionAllSubmenus () |
| reposition all submenus, for example after the main menu was repositioned with setTransform matrix More...
|
|
virtual void | closeMenu () |
|
virtual void | doActionPress () |
| Action is called via joystick. More...
|
|
virtual void | doActionRelease () |
| Action is called via joystick. More...
|
|
virtual void | doSecondActionPress () |
| Action is called via joystick. More...
|
|
virtual void | doSecondActionRelease () |
| Action is called via joystick. More...
|
|
virtual bool | isInteractionActive () const |
|
coCombinedButtonInteraction * | getInteraction () const |
|
coCombinedButtonInteraction * | getMoveInteraction () const |
|
void | setShowMode (int mode) |
|
int | getShowMode () const |
|
virtual void | setSubMenuItem (coGenericSubMenuItem *item) |
|
coGenericSubMenuItem * | getSubMenuItem () |
|
void | closeAllOtherMenus (coMenuItem *leave=0) |
| close all menus: optionally leave one open More...
|
|
void | removeAllAfter (coMenuItem *last) |
| remove all items behind a given one More...
|
|
bool | isVisible () const |
| check whether menu is currently visible More...
|
|
const char * | getName () const |
| get my menu's name More...
|
|
coMenuItemVector | getAllItems () |
|
coMenuItem * | getItemByName (const char *name) |
|
int | index (const coMenuItem *item) |
|
void | setParent (coMenu *newParent) |
|
const coMenu * | getParent () |
|
bool | wasMoved () const |
|
void | setMoved (bool flag) |
|
| coAction () |
| Constructor. More...
|
|
virtual | ~coAction () |
| Destructor. More...
|
|
void | setFrame (unsigned int frame) |
| INTERNAL set the framecounter (used to produce the miss call) More...
|
|
unsigned int | getFrame () const |
| INTERNAL get the framecounter (used to produce the miss call) More...
|
|
void | setNode (vruiNode *) |
| INTERNAL set the node this action belongs to. More...
|
|
void | addChild (coAction *) |
| INTERNAL add a child action. More...
|
|
virtual int | hitAll (vruiHit *hit) |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
virtual void | missAll () |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
| coUpdateable () |
| Constructor. More...
|
|
virtual | ~coUpdateable () |
| Destructor. More...
|
|
virtual | ~coButtonActor () |
|
virtual | ~coMenuListener () |
|
virtual void | menuPressEvent (coMenuItem *menuItem) |
|
virtual void | menuReleaseEvent (coMenuItem *menuItem) |
|
A Toolbox Menu contains Toolbox Menu Item and offers different organization modes (horizontal or vertical) The Handle, Items and submenus are organized respectively to this setting.