OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vrui::OSGVruiColoredBackground Class Reference

#include <OSGVruiColoredBackground.h>

Inheritance diagram for vrui::OSGVruiColoredBackground:
Inheritance graph
[legend]
Collaboration diagram for vrui::OSGVruiColoredBackground:
Collaboration graph
[legend]

Public Member Functions

 OSGVruiColoredBackground (coColoredBackground *background)
 
virtual ~OSGVruiColoredBackground ()
 
virtual void createGeometry ()
 
virtual void resizeGeometry ()
 
virtual void setEnabled (bool en)
 
virtual void setHighlighted (bool hl)
 
- Public Member Functions inherited from vrui::OSGVruiUIContainer
 OSGVruiUIContainer (coUIContainer *container)
 
virtual ~OSGVruiUIContainer ()
 
- Public Member Functions inherited from vrui::OSGVruiUIElement
 OSGVruiUIElement (coUIElement *element)
 
virtual ~OSGVruiUIElement ()
 
vruiTransformNodegetDCS ()
 
- Public Member Functions inherited from vrui::vruiUIElementProvider
 vruiUIElementProvider (coUIElement *element)
 
virtual ~vruiUIElementProvider ()
 
virtual void update ()
 
virtual float getWidth () const
 
virtual float getHeight () const
 
virtual float getDepth () const
 

Protected Member Functions

void createSharedLists ()
 

Protected Attributes

coColoredBackgroundbackground
 
- Protected Attributes inherited from vrui::OSGVruiUIContainer
coUIContainercontainer
 
- Protected Attributes inherited from vrui::OSGVruiUIElement
OSGVruiTransformNodemyDCS
 main DCS of this UI Element More...
 
- Protected Attributes inherited from vrui::vruiUIElementProvider
coUIElementelement
 

Detailed Description

This class provides background for GUI elements. The color 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.

Constructor & Destructor Documentation

vrui::OSGVruiColoredBackground::OSGVruiColoredBackground ( coColoredBackground background)
virtual vrui::OSGVruiColoredBackground::~OSGVruiColoredBackground ( )
virtual

Member Function Documentation

virtual void vrui::OSGVruiColoredBackground::createGeometry ( )
virtual
void vrui::OSGVruiColoredBackground::createSharedLists ( )
protected
virtual void vrui::OSGVruiColoredBackground::resizeGeometry ( )
virtual
virtual void vrui::OSGVruiColoredBackground::setEnabled ( bool  en)
virtual

Reimplemented from vrui::vruiUIElementProvider.

virtual void vrui::OSGVruiColoredBackground::setHighlighted ( bool  hl)
virtual

Reimplemented from vrui::vruiUIElementProvider.

Member Data Documentation

coColoredBackground* vrui::OSGVruiColoredBackground::background
protected

The documentation for this class was generated from the following file: