summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-02-17 14:55:00 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-02-17 15:11:14 +0100
commitc3120d41b8accb828d5a4f9ddb297d4588ae33f5 (patch)
treec4759080280241decdde38a3c1ffe2af83dd0591 /gui/objects.hpp
parentMerge "Improve ORS scanning of storage locations" into android-4.4 (diff)
downloadandroid_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar.gz
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar.bz2
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar.lz
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar.xz
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.tar.zst
android_bootable_recovery-c3120d41b8accb828d5a4f9ddb297d4588ae33f5.zip
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp10
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