KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
GLDraw::WidgetSet Class Reference

A container of sub-widgets. More...

#include <Widget.h>

Inheritance diagram for GLDraw::WidgetSet:
GLDraw::Widget

Public Member Functions

virtual bool Hover (int x, int y, Camera::Viewport &viewport, double &distance)
 
virtual void SetHighlight (bool value)
 
virtual bool BeginDrag (int x, int y, Camera::Viewport &viewport, double &distance)
 
virtual void Drag (int dx, int dy, Camera::Viewport &viewport)
 
virtual void EndDrag ()
 
virtual void SetFocus (bool value)
 
virtual void Keypress (char c)
 
virtual void DrawGL (Camera::Viewport &viewport)
 
virtual void Idle ()
 
virtual void Enable (int index, bool enabled)
 
virtual void Enable (Widget *widget, bool enabled)
 
- Public Member Functions inherited from GLDraw::Widget
void Refresh ()
 

Public Attributes

std::vector< Widget * > widgets
 
std::vector< bool > widgetEnabled
 
WidgetactiveWidget
 
WidgetclosestWidget
 
- Public Attributes inherited from GLDraw::Widget
bool hasHighlight
 
bool hasFocus
 
bool requestRedraw
 

Detailed Description

A container of sub-widgets.

Note that this does not manage the storage of widgets.


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