ScummVM API documentation
Buried::NavArrowWindow Class Reference
Inheritance diagram for Buried::NavArrowWindow:
Buried::Window

Public Types

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
}
 
- Public Types inherited from Buried::Window
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)
}
 

Public Member Functions

 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 onKeyUp (const Common::KeyState &key, uint flags)
 
- Public Member Functions inherited from Buried::Window
 Window (BuriedEngine *vm, Window *parent, bool visible=false)
 
virtual bool onEraseBackground ()
 
virtual void onKeyDown (const Common::KeyState &key, uint flags)
 
virtual void onTimer (uint timer)
 
virtual void onKillFocus (Window *newWindow)
 
virtual void onSetFocus (Window *oldWindow)
 
virtual void onLButtonUp (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)
 
void invalidateRect (const Common::Rect &rect, bool erase=true)
 
void invalidateWindow (bool erase=true)
 
WindowgetParent () const
 
const Common::RectgetRect () 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
 
WindowsetFocus ()
 
WindowsetCapture ()
 
void sendMessage (Message *message)
 
void postMessage (Message *message)
 
WindowchildWindowAtPoint (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)
 

Additional Inherited Members

- Protected Member Functions inherited from Buried::Window
uint setTimer (uint elapse)
 
bool killTimer (uint timer)
 
Common::Rect makeAbsoluteRect (const Common::Rect &rect) const
 
- Protected Attributes inherited from Buried::Window
BuriedEngine_vm
 
Window_parent
 
Common::Rect _rect
 

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