|
| coRowMenu (const char *title, coMenu *parent=0, int maxItems=0, bool inScene=false) |
|
virtual | ~coRowMenu () |
|
virtual void | add (coMenuItem *item) |
|
virtual void | insert (coMenuItem *item, int position) |
|
virtual void | remove (coMenuItem *item) |
|
virtual int | hit (vruiHit *hit) |
|
virtual void | miss () |
|
virtual void | selected (bool select) |
| Menu is selected via joystick. More...
|
|
virtual void | makeVisible (coMenuItem *item) |
| makes the item visible for joystick interaction More...
|
|
virtual void | setTransformMatrix (vruiMatrix *matrix) |
|
virtual void | setTransformMatrix (vruiMatrix *matrix, float scalefactor) |
|
vruiTransformNode * | getDCS () |
| Get Transformation Node. More...
|
|
bool | update () |
|
virtual coUIElement * | getUIElement () |
|
virtual void | setVisible (bool visible) |
|
virtual void | setScale (float scale) |
| Sets the menu size by applying a scaling factor to the default size. More...
|
|
virtual float | getScale () const |
| Gets the current scaling factor. More...
|
|
void | show () |
| makes the menu visible More...
|
|
void | hide () |
| hides this menu More...
|
|
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...
|
|
virtual void | updateTitle (const char *newTitle) |
| update the Title bar More...
|
|
virtual int | getMaxItems () |
|
virtual int | getStartPos () |
|
| coMenu (coMenu *parentMenu, const std::string &name) |
|
virtual | ~coMenu () |
| Sets the matrix which defines location and orientation. More...
|
|
virtual void | setTransformMatrix (vruiMatrix *matrix)=0 |
|
virtual void | setTransformMatrix (vruiMatrix *matrix, float scale)=0 |
|
virtual void | setScale (float s)=0 |
| Returns the matrix which defines location and orientation of the menu. More...
|
|
virtual float | getScale () const =0 |
| Gets the current scaling factor. More...
|
|
virtual void | add (coMenuItem *item) |
|
virtual void | insert (coMenuItem *item, int location) |
|
virtual void | setMenuListener (coMenuFocusListener *listener) |
|
virtual int | hit (vruiHit *hit) |
|
virtual void | miss () |
|
virtual coUIElement * | getUIElement () |
|
virtual void | setVisible (bool) |
|
virtual void | positionAllSubmenus () |
| reposition all submenus, for example after the main menu was repositioned with setTransform matrix More...
|
|
virtual void | remove (coMenuItem *item) |
|
virtual void | removeAll () |
|
virtual int | getItemCount () const |
|
virtual void | closeMenu () |
|
virtual void | selected (bool select) |
| Menu is selected via joystick. More...
|
|
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 void | makeVisible (coMenuItem *) |
| makes the item visible for joystick interaction More...
|
|
virtual vruiTransformNode * | getDCS ()=0 |
| Get Transformation Node. More...
|
|
virtual bool | isInteractionActive () const |
|
coCombinedButtonInteraction * | getInteraction () const |
|
coCombinedButtonInteraction * | getMoveInteraction () const |
|
virtual void | show ()=0 |
| makes the menu visible More...
|
|
virtual void | hide ()=0 |
| hides this menu More...
|
|
void | setShowMode (int mode) |
|
int | getShowMode () const |
|
virtual void | setSubMenuItem (coGenericSubMenuItem *item) |
|
coGenericSubMenuItem * | getSubMenuItem () |
|
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 | 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 () |
|
virtual void | setAttachment (int att) |
|
virtual int | getAttachment () const |
|
bool | wasMoved () const |
|
void | setMoved (bool flag) |
|
| coAction () |
| Constructor. More...
|
|
virtual | ~coAction () |
| Destructor. More...
|
|
virtual int | hit (vruiHit *hit)=0 |
|
virtual void | miss () |
|
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 bool | update ()=0 |
|
virtual | ~coButtonActor () |
|
virtual void | buttonEvent (coButton *button)=0 |
|
virtual | ~coMenuListener () |
|
virtual void | menuEvent (coMenuItem *menuItem) |
|
virtual void | menuPressEvent (coMenuItem *menuItem) |
|
virtual void | menuReleaseEvent (coMenuItem *menuItem) |
|
This class provides a simple menu for use in 3D space. The MenuItems are layed out in a row. It has a title bar (coMenuHandle) that shows the menu's name and can be used to reposition and scale the menu. There are buttons in the Menu to show, hide and close the menu.