|
| enum | { BUTTON_DISABLED = 0
, BUTTON_ENABLED = 1
, BUTTON_SELECTED = 2
} |
| |
| enum | {
NAV_BUTTON_UP = 0
, NAV_BUTTON_LEFT = 1
, NAV_BUTTON_RIGHT = 2
, NAV_BUTTON_DOWN = 3
,
NAV_BUTTON_FORWARD = 4
} |
| |
| enum | WindowShowMode { kWindowShow
, kWindowHide
, kWindowShowNormal
} |
| |
| enum | WindowPosFlags {
kWindowPosNoFlags = 0
, kWindowPosNoSize = (1 << 0)
, kWindowPosNoZOrder = (1 << 1)
, kWindowPosHideWindow = (1 << 2)
,
kWindowPosShowWindow = (1 << 3)
, kWindowPosNoMove = (1 << 4)
, kWindowPosNoActivate = (1 << 5)
} |
| |
|
|
| NavArrowWindow (BuriedEngine *vm, Window *parent) |
| |
|
bool | updateArrow (int button, int newStatus) |
| |
|
bool | updateAllArrows (int up, int left, int right, int down, int forward) |
| |
|
bool | updateAllArrows (const LocationStaticData &locationStaticData) |
| |
| void | onPaint () |
| |
| void | onEnable (bool enable) |
| |
| void | onLButtonDown (const Common::Point &point, uint flags) |
| |
| void | onActionEnd (const Common::CustomEventType &action, uint flags) |
| |
|
| Window (BuriedEngine *vm, Window *parent, bool visible=false) |
| |
|
virtual bool | onEraseBackground () |
| |
|
virtual void | onActionStart (const Common::CustomEventType &action, uint flags) |
| |
|
virtual void | onActionEnd (const Common::CustomEventType &action, uint flags) |
| |
|
virtual void | onKeyUp (const Common::KeyState &key, uint flags) |
| |
|
virtual void | onTimer (uint timer) |
| |
|
virtual void | onKillFocus (Window *newWindow) |
| |
|
virtual void | onSetFocus (Window *oldWindow) |
| |
|
virtual void | onPaint () |
| |
|
virtual void | onLButtonUp (const Common::Point &point, uint flags) |
| |
|
virtual void | onLButtonDown (const Common::Point &point, uint flags) |
| |
|
virtual void | onMouseMove (const Common::Point &point, uint flags) |
| |
|
virtual void | onMButtonUp (const Common::Point &point, uint flags) |
| |
|
virtual void | onRButtonUp (const Common::Point &point, uint flags) |
| |
|
virtual void | onRButtonDown (const Common::Point &point, uint flags) |
| |
|
virtual bool | onSetCursor (uint message) |
| |
|
virtual void | onEnable (bool enable) |
| |
|
void | invalidateRect (const Common::Rect &rect, bool erase=true) |
| |
|
void | invalidateWindow (bool erase=true) |
| |
|
Window * | getParent () const |
| |
|
const Common::Rect & | getRect () const |
| |
|
Common::Rect | getClientRect () const |
| |
|
Common::Rect | getAbsoluteRect () const |
| |
|
void | updateWindow () |
| |
|
void | enableWindow (bool enable) |
| |
|
bool | isWindowEnabled () const |
| |
|
void | setWindowPos (const Window *insertAfter, int x, int y, int width, int height, uint flags) |
| |
|
void | showWindow (WindowShowMode showMode) |
| |
|
bool | isWindowVisible () const |
| |
|
Window * | setFocus () |
| |
|
Window * | setCapture () |
| |
|
void | sendMessage (Message *message) |
| |
|
void | postMessage (Message *message) |
| |
|
Window * | childWindowAtPoint (const Common::Point &point) |
| |
|
Common::Point | convertPointToGlobal (const Common::Point &point) |
| |
|
Common::Point | convertPointToLocal (const Common::Point &point) |
| |
|
Common::Point | convertPointToWindow (const Common::Point &point, Window *dest) |
| |