User interface API


Detailed Description

These classes provide a simple 2D graphical user interface (GUI). The drawing is layered on top of the OpenGL renderer and using the input functionality of the context singleton, so the environment must be set up before the user interface can be drawn.

The user interface classes make heavy use of signals, and its design is in many ways similar to the gtkmm library. One notable difference is that, since we are working on top of OpenGL, usually together with 3D rendering, we need to redraw the entire interface each frame.


Classes

class  wendy::UI::Book
class  wendy::UI::Button
class  wendy::UI::Canvas
class  wendy::UI::ColorPickerRGB
class  wendy::UI::Entry
class  wendy::UI::Item
class  wendy::UI::SeparatorItem
class  wendy::UI::TextureItem
class  wendy::UI::Label
class  wendy::UI::Layout
class  wendy::UI::List
class  wendy::UI::Menu
class  wendy::UI::Popup
class  wendy::UI::Progress
class  wendy::UI::Alignment
class  wendy::UI::Renderer
 Widget renderer singleton.

This class implements the default rendering behavior for widgets. More...

class  wendy::UI::Scroller
class  wendy::UI::Slider
class  wendy::UI::View
class  wendy::UI::Widget
 Base class for interface widgets.

This is the base class for all interface widgets, including windows. It also translates and dispatches user input events, with no client setup required. More...

class  wendy::UI::Window

Typedefs

typedef std::vector< Item * > wendy::UI::ItemList

Enumerations

enum  wendy::UI::WidgetState { wendy::UI::STATE_DISABLED, wendy::UI::STATE_NORMAL, wendy::UI::STATE_ACTIVE, wendy::UI::STATE_SELECTED }
enum  wendy::UI::HorzAlignment { wendy::UI::LEFT_ALIGNED, wendy::UI::RIGHT_ALIGNED, wendy::UI::CENTERED_ON_X }
enum  wendy::UI::VertAlignment { wendy::UI::TOP_ALIGNED, wendy::UI::BOTTOM_ALIGNED, wendy::UI::CENTERED_ON_Y }
enum  wendy::UI::Orientation { wendy::UI::HORIZONTAL, wendy::UI::VERTICAL }


Typedef Documentation

typedef std::vector<Item*> wendy::UI::ItemList


Enumeration Type Documentation

Enumerator:
LEFT_ALIGNED 
RIGHT_ALIGNED 
CENTERED_ON_X 

Enumerator:
HORIZONTAL 
VERTICAL 

Enumerator:
TOP_ALIGNED 
BOTTOM_ALIGNED 
CENTERED_ON_Y 

Enumerator:
STATE_DISABLED 
STATE_NORMAL 
STATE_ACTIVE 
STATE_SELECTED 


Generated on Thu Sep 11 20:42:10 2008 for Wendy by  doxygen 1.5.6