28 Parameters(std::wstring
const& inTitle,
29 int inXOrigin,
int inYOrigin,
int inXSize,
int inYSize);
32 int xOrigin, yOrigin, xSize,
ySize;
45 virtual void SetTitle(std::wstring
const& title);
46 inline std::wstring GetTitle()
const;
47 inline int GetXOrigin()
const;
48 inline int GetYOrigin()
const;
49 inline int GetXSize()
const;
50 inline int GetYSize()
const;
51 inline bool IsMinimized()
const;
52 inline bool IsMaximized()
const;
53 inline float GetAspectRatio()
const;
56 virtual void OnMove(
int x,
int y);
57 virtual bool OnResize(
int xSize,
int ySize);
58 virtual void OnMinimize();
59 virtual void OnMaximize();
60 virtual void OnDisplay();
61 virtual void OnIdle();
67 virtual bool OnCharPress(
unsigned char key,
int x,
int y);
68 virtual bool OnKeyDown(
int key,
int x,
int y);
69 virtual bool OnKeyUp(
int key,
int x,
int y);
77 virtual bool OnMouseClick(
int button,
int state,
int x,
int y,
unsigned int modifiers);
78 virtual bool OnMouseMotion(
int button,
int x,
int y,
unsigned int modifiers);
79 virtual bool OnMouseWheel(
int delta,
int x,
int y,
unsigned int modifiers);
80 virtual void SetMousePosition(
int x,
int y);
81 virtual void GetMousePosition(
int&
x,
int&
y)
const;
84 virtual void OnClose();
201 return (
float)mXSize / (float)mYSize;
static int const KEY_LEFT
static int const MODIFIER_SHIFT
static int const MOUSE_MIDDLE
static int const MODIFIER_RBUTTON
static int const KEY_COMMAND
static int const KEY_PAGE_UP
static int const MODIFIER_LBUTTON
std::shared_ptr< ProgramFactory > mProgramFactory
static int const KEY_HOME
static int const KEY_RETURN
static int const MOUSE_RIGHT
float GetAspectRatio() const
std::wstring GetTitle() const
static int const MOUSE_UP
static int const MODIFIER_CONTROL
static int const KEY_BACKSPACE
static int const MOUSE_DOWN
static int const KEY_DELETE
static int const MOUSE_NONE
static int const KEY_ENTER
GLsizei const GLchar *const * string
std::shared_ptr< ProgramFactory > factory
static int const KEY_INSERT
static int const KEY_PAGE_DOWN
static int const MOUSE_LEFT
static int const KEY_RIGHT
static int const KEY_ESCAPE
static int const KEY_SHIFT
static int const KEY_DOWN
std::shared_ptr< BaseEngine > engine
static int const KEY_CONTROL
std::shared_ptr< BaseEngine > mBaseEngine
static int const MODIFIER_MBUTTON