summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-19 19:13:15 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-19 19:13:15 +0200
commit4d12f969b8fa40497b60a6e15873b1b3af924dda (patch)
tree103d138e3d4a1a6e23dd7f44a28bb8efdef73bb4 /gui/objects.hpp
parentInitial BML support (ext4 only) (diff)
downloadandroid_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar.gz
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar.bz2
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar.lz
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar.xz
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.tar.zst
android_bootable_recovery-4d12f969b8fa40497b60a6e15873b1b3af924dda.zip
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index 1f3f11a90..8f7823663 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -174,16 +174,21 @@ public:
// Set number of characters to skip (for scrolling)
virtual int SkipCharCount(unsigned skip);
+public:
+ bool isHighlighted;
+
protected:
std::string mText;
std::string mLastValue;
COLOR mColor;
+ COLOR mHighlightColor;
Resource* mFont;
int mIsStatic;
int mVarChanged;
int mFontHeight;
unsigned maxWidth;
unsigned charSkip;
+ bool hasHighlightColor;
protected:
std::string parseText(void);
@@ -204,8 +209,12 @@ public:
// Return 0 on success, <0 on error
virtual int SetRenderPos(int x, int y, int w = 0, int h = 0);
+public:
+ bool isHighlighted;
+
protected:
Resource* mImage;
+ Resource* mHighlightImage;
};
// GUIFill - Used for fill colors