|
| coTextureRectBackground (const std::string &normalTexture, coTextureRectBackgroundActor *actor=0) |
|
| coTextureRectBackground (uint *normalImage, int comp, int ns, int nt, int nr, coTextureRectBackgroundActor *actor=0) |
|
virtual | ~coTextureRectBackground () |
|
virtual int | hit (vruiHit *hit) |
|
virtual void | miss () |
|
virtual void | setEnabled (bool en) |
| set this widget to enabled More...
|
|
virtual void | setHighlighted (bool hl) |
| set this widget to highlighted More...
|
|
void | setRepeat (bool repeat) |
| set texture repeat (deprecated!) More...
|
|
bool | getRepeat () const |
| get texture repeat state (deprecated!) More...
|
|
void | setUpdated (bool update) |
|
bool | getUpdated () |
| returns whether More...
|
|
void | setTexSize (float, float) |
| set the texture dimensions (need to be pixel-exact) More...
|
|
float | getTexXSize () const |
| returns the width of the texture More...
|
|
float | getTexYSize () const |
| returns the height of the texture More...
|
|
void | setImage (uint *normalImage, int comp, int ns, int nt, int nr) |
|
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...
|
|
TextureSet * | getCurrentTextures () |
|
const std::string & | getNormalTexName () const |
|
| coBackground () |
|
virtual | ~coBackground () |
|
virtual void | addElement (coUIElement *element) |
| Appends a child to this container. More...
|
|
virtual void | removeElement (coUIElement *element) |
| Removes a child from this container. More...
|
|
virtual float | getWidth () const |
| Returns element width. More...
|
|
virtual float | getHeight () const |
| Returns element height. More...
|
|
virtual float | getDepth () const |
|
virtual float | getXpos () const |
| Returns element x position. More...
|
|
virtual float | getYpos () const |
| Returns element y position. More...
|
|
virtual float | getZpos () const |
|
virtual void | setPos (float x, float y, float z=0) |
|
virtual void | setWidth (float width) |
|
virtual void | setHeight (float height) |
|
virtual void | setDepth (float depth) |
|
virtual void | setMinWidth (float minWidth) |
|
virtual void | setMinHeight (float minHeight) |
|
virtual void | setMinDepth (float minDepth) |
|
virtual void | setZOffset (float offset) |
|
virtual void | setSize (float size) |
|
virtual void | setSize (float nw, float nh, float nd) |
|
virtual void | resizeToParent (float, float, float, bool shrink=true) |
|
virtual void | shrinkToMin () |
| Set element location in space. More...
|
|
| coUIContainer () |
|
virtual | ~coUIContainer () |
|
virtual void | removeLastElement () |
| Removes a child from this container. More...
|
|
virtual void | showElement (coUIElement *element) |
| Adds the specified element to the scenegraph. More...
|
|
void | setXAlignment (int a) |
| set the alignment in X direction of the children More...
|
|
void | setYAlignment (int a) |
| set the alignment in Y direction of the children More...
|
|
void | setZAlignment (int a) |
| set the alignment in Z direction of the children More...
|
|
float | getMaxH () const |
| maximum size in H direction More...
|
|
float | getMaxW () const |
| maximum size in W direction More...
|
|
float | getMaxD () const |
| maximum size in D direction More...
|
|
float | getSumH () const |
| sum of sizes in H direction More...
|
|
float | getSumW () const |
| sum of sizes in W direction More...
|
|
float | getSumD () const |
| sum of sizes in D direction More...
|
|
int | getSize () |
|
| coUIElement () |
|
virtual | ~coUIElement () |
|
virtual void | createGeometry () |
|
virtual void | setParent (coUIContainer *) |
|
virtual coUIContainer * | getParent () |
|
virtual void | setVisible (bool visible) |
|
virtual bool | isEnabled () const |
|
virtual bool | isHighlighted () const |
|
virtual bool | isVisible () const |
|
virtual void | childResized (bool shrink=true) |
|
virtual float | getResizePref () |
|
virtual void | setUserData (coUIUserData *) |
|
virtual coUIUserData * | getUserData () const |
|
virtual vruiTransformNode * | getDCS () |
|
virtual vruiUIElementProvider * | getUIElementProvider () const |
|
virtual void | setAttachment (int) |
| sets the attachment border More...
|
|
virtual int | getAttachment () const |
| returns the attachment border More...
|
|
void | setUniqueName (const char *) |
|
const char * | getUniqueName () const |
|
| 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...
|
|
|
enum | { CENTER = 0,
MIN,
MAX,
BOTH
} |
| Alignment specification for children. More...
|
|
enum | Material {
RED = 0,
GREEN,
BLUE,
YELLOW,
GREY,
WHITE,
BLACK,
DARK_YELLOW,
WHITE_NL,
ITEM_BACKGROUND_NORMAL,
ITEM_BACKGROUND_HIGHLIGHTED,
ITEM_BACKGROUND_DISABLED,
HANDLE_BACKGROUND_NORMAL,
HANDLE_BACKGROUND_HIGHLIGHTED,
HANDLE_BACKGROUND_DISABLED,
NUM_MATERIALS
} |
| Color definitions, to be used whenever a material is needed. More...
|
|
enum | {
LEFT = 0,
TOP,
RIGHT,
BOTTOM,
REPLACE
} |
|
enum | Result { ACTION_DONE = 0x00,
ACTION_CALL_ON_MISS = 0x01,
ACTION_UNDEF = 0x02
} |
|
enum vrui::coUIContainer:: { ... } | alignments |
| Alignment specification for children. More...
|
|
enum vrui::coUIElement:: { ... } | Attachments |
|
virtual void | resizeGeometry () |
|
void | realign () |
| centers the child More...
|
|
virtual const vruiMatrix * | getTransformMatrix () |
|
This class provides background for GUI elements. The texture of this background changes according to the elements state (normal/highlighted/disabled) A background should contain only one child, use another container to layout multiple chlidren inside the frame.