#include <Widget.H>
Public Member Functions | |
Widget (WidgetMgrRef widgetMgr) | |
virtual | ~Widget () |
virtual bool | canReleaseFocus () |
virtual bool | pointerOverWidget (Vector3 pointerPosRoomSpace) |
virtual void | activate () |
virtual void | deactivate () |
virtual void | processEvent (EventRef events, Array< EventRef > &generatedEvents) |
virtual void | doGraphics (RenderDevice *rd) |
bool | isActive () |
Protected Attributes | |
bool | _isActive |
WidgetMgrRef | _widgetMgr |
|
|
|
|
|
|
|
Should return true, unless the widget is in a state, like the middle of interacting with a menu, that should not be interrupted by another widget taking over the input focus. |
|
|
|
|
|
|
|
This is only used for widgets, like Menus, that are registered with the HCIMgr to be activated when the pointer moves over them. Should return true if the pointer position passed in is over the location of the widget. If the subclass widget is not going to be activated when the pointer moves over it, then you don't need to reimplement this. |
|
|
|
|
|
|