ScummVM API documentation
Buried::Window Class Reference
Inheritance diagram for Buried::Window:
Buried::BioChipMainViewWindow Buried::BioChipRightWindow Buried::BurnedLetterViewWindow Buried::CompletionWindow Buried::CreditsWindow Buried::DeathWindow Buried::DemoMainMenuWindow Buried::FeaturesDisplayWindow Buried::FrameWindow Buried::GameUIWindow Buried::InventoryInfoWindow Buried::InventoryWindow Buried::LiveTextWindow Buried::MainMenuWindow Buried::MovieDisplayWindow Buried::NavArrowWindow Buried::OverviewWindow Buried::SceneViewWindow Buried::TitleSequenceWindow Buried::VideoWindow

Public Types

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

 Window (BuriedEngine *vm, Window *parent, bool visible=false)
 
virtual bool onEraseBackground ()
 
virtual void onKeyDown (const Common::KeyState &key, 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)
 
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)
 

Protected Member Functions

uint setTimer (uint elapse)
 
bool killTimer (uint timer)
 
Common::Rect makeAbsoluteRect (const Common::Rect &rect) const
 

Protected Attributes

BuriedEngine_vm
 
Window_parent
 
Common::Rect _rect
 

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