- Your Widget Set For OpenGL
#include <ufocusmanager.hpp>
Inheritance diagram for ufo::UFocusManager:

Public Types | |
| enum | FocusPolicy { ClickToFocus = 0, FocusUnderMouse = 1 } |
Public Member Functions | |
| virtual void | processEvent (UEvent *e) |
| void | setFocusPolicy (FocusPolicy policy) |
| FocusPolicy | getFocusPolicy () const |
Static Public Member Functions | |
| UFocusManager * | getFocusManager () |
| void | setFocusManager (UFocusManager *focusManager) |
Protected Member Functions | |
| void | processMouseEvent (UMouseEvent *e) |
| void | processKeyEvent (UKeyEvent *e) |
The focus manager is not bound to a specific UFO context.
|
|
Processes an event. If it is an appropriate event, focus may be changed. |
|
|
Sets the focus policy. The default policy is ClickToFocus. |