diff options
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r-- | gui/objects.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp index 472d23b42..f8a4e8ca8 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -828,18 +828,26 @@ protected: unsigned int end_x; unsigned int layout; }; + struct capslock_tracking_struct + { + int capslock; + int set_capslock; + int revert_layout; + }; Resource* keyboardImg[MAX_KEYBOARD_LAYOUTS]; struct keyboard_key_class keyboard_keys[MAX_KEYBOARD_LAYOUTS][MAX_KEYBOARD_ROWS][MAX_KEYBOARD_KEYS]; + struct capslock_tracking_struct caps_tracking[MAX_KEYBOARD_LAYOUTS]; bool mRendered; std::string mVariable; unsigned int cursorLocation; unsigned int currentLayout; unsigned int row_heights[MAX_KEYBOARD_LAYOUTS][MAX_KEYBOARD_ROWS]; unsigned int KeyboardWidth, KeyboardHeight; - int rowY, colX, highlightRenderCount, hasHighlight; + int rowY, colX, highlightRenderCount, hasHighlight, hasCapsHighlight; GUIAction* mAction; COLOR mHighlightColor; + COLOR mCapsHighlightColor; }; // GUIInput - Used for keyboard input |