|
| coButtonMenuItem (const std::string &) |
|
| coButtonMenuItem (const std::string &name, const std::string &nameIcon, float texSizeX=0, float texSizeY=0) |
| Button with icon. More...
|
|
virtual | ~coButtonMenuItem () |
|
int | hit (vruiHit *hit) |
|
void | miss () |
|
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 bool | dropOperation (coDragNDrop *) |
|
virtual const std::string & | getIconName () |
|
virtual float | getIconSizeX () |
|
virtual float | getIconSizeY () |
|
virtual void | setIconSizeX (float x) |
|
virtual void | setIconSizeY (float y) |
|
virtual void | setActive (bool a) |
| functions activates or deactivates the item More...
|
|
virtual void | selected (bool select) |
| MenuItem is selected via joystick. More...
|
|
virtual void | doActionRelease () |
| ActionPress is called via joystick. More...
|
|
| coRowMenuItem (const std::string &labelString) |
|
| coRowMenuItem (const std::string &symbolicName, const std::string &labelString) |
|
virtual | ~coRowMenuItem () |
|
virtual void | setLabel (coLabel *label) |
|
coLabel * | getLabel () |
|
void | setLabel (const std::string &labelString) |
| this function may be overloaded - it is called by setName() More...
|
|
virtual coUIElement * | getUIElement () |
|
| coMenuItem (const std::string &name) |
|
virtual | ~coMenuItem () |
|
virtual void | setMenuListener (coMenuListener *listener) |
|
virtual coMenuListener * | getMenuListener () |
|
virtual void | setParentMenu (coMenu *parent) |
|
virtual void | setVisible (bool visible) |
|
virtual bool | isVisible () const |
|
virtual void | setAttachment (int) |
| sets the attachment border More...
|
|
virtual const char * | getName () const |
|
coMenu * | getParentMenu () |
| get my parent menu More...
|
|
void | setName (const std::string &newName, bool updateTwins=true) |
| set my name - items with labels must call this when changing label More...
|
|
virtual bool | getActive () |
| return if item is active More...
|
|
virtual void | doActionPress () |
| Action is called via joystick. More...
|
|
virtual void | doSecondActionPress () |
| second Action for Item More...
|
|
virtual void | doSecondActionRelease () |
| second Action for Item More...
|
|
| 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...
|
|
| coDragNDrop () |
| simple constructor More...
|
|
| coDragNDrop (int) |
| constructor with specific media type More...
|
|
virtual | ~coDragNDrop () |
|
int | getMediaType () |
|
virtual | ~coTexturedBackgroundActor () |
|
virtual void | texturePointerClicked (coTexturedBackground *, float, float) |
|
virtual void | texturePointerReleased (coTexturedBackground *, float, float) |
|
virtual void | texturePointerDragged (coTexturedBackground *, float, float) |
|
virtual void | texturePointerMoved (coTexturedBackground *, float, float) |
|
virtual void | texturePointerLeft (coTexturedBackground *) |
|
This class defines a menu item which can be used as a button to trigger an action. The events are processed by coAction.