Implement basic keyboard & mouse support for openvr overlays

This commit is contained in:
James Urquhart 2016-05-18 23:55:17 +01:00
parent f91aa639d6
commit 734688ff7e
6 changed files with 167 additions and 21 deletions

View file

@ -124,6 +124,7 @@ public:
void invalidText(bool playSound = true);
void validText();
bool isValidText();
inline bool isPasswordText() { return mPasswordText; }
bool isAllTextSelected();
void selectAllText();

View file

@ -286,6 +286,8 @@ class GuiControl : public SimGroup
const char * getConsoleCommand(); ///< Returns the name of the function bound to this GuiControl
LangTable *getGUILangTable(void);
const UTF8 *getGUIString(S32 id);
inline String& getTooltip() { return mTooltip; } ///< Returns the tooltip
/// @}