summaryrefslogtreecommitdiffstats
path: root/gui/pages.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages.hpp')
-rw-r--r--gui/pages.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/gui/pages.hpp b/gui/pages.hpp
index 23ceee9c8..a9cc0c1d0 100644
--- a/gui/pages.hpp
+++ b/gui/pages.hpp
@@ -30,6 +30,7 @@ class ActionObject;
class InputObject;
class MouseCursor;
class GUIObject;
+class HardwareKeyboard;
class Page
{
@@ -43,7 +44,7 @@ public:
virtual int Render(void);
virtual int Update(void);
virtual int NotifyTouch(TOUCH_STATE state, int x, int y);
- virtual int NotifyKey(int key);
+ virtual int NotifyKey(int key, bool down);
virtual int NotifyKeyboard(int key);
virtual int SetKeyBoardFocus(int inFocus);
virtual int NotifyVarChange(std::string varName, std::string value);
@@ -84,7 +85,7 @@ public:
int Render(void);
int Update(void);
int NotifyTouch(TOUCH_STATE state, int x, int y);
- int NotifyKey(int key);
+ int NotifyKey(int key, bool down);
int NotifyKeyboard(int key);
int SetKeyBoardFocus(int inFocus);
int NotifyVarChange(std::string varName, std::string value);
@@ -127,7 +128,7 @@ public:
static int Render(void);
static int Update(void);
static int NotifyTouch(TOUCH_STATE state, int x, int y);
- static int NotifyKey(int key);
+ static int NotifyKey(int key, bool down);
static int NotifyKeyboard(int key);
static int SetKeyBoardFocus(int inFocus);
static int NotifyVarChange(std::string varName, std::string value);
@@ -135,6 +136,8 @@ public:
static MouseCursor *GetMouseCursor();
static void LoadCursorData(xml_node<>* node);
+ static HardwareKeyboard *GetHardwareKeyboard();
+
protected:
static PageSet* FindPackage(std::string name);
@@ -143,6 +146,7 @@ protected:
static PageSet* mCurrentSet;
static PageSet* mBaseSet;
static MouseCursor *mMouseCursor;
+ static HardwareKeyboard *mHardwareKeyboard;
};
#endif // _PAGES_HEADER_HPP