summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-02-19 15:41:23 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-02-19 15:41:23 +0100
commit72394403b98a3990f87e8dbb8cc8e585a3298e09 (patch)
tree7b69ecf13f3d4378f53f0c92b47fb9a7521660f1 /gui/objects.hpp
parentMerge "Add highlight to file selector" into twrp2.4 (diff)
parentUpdate listbox code (diff)
downloadandroid_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.gz
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.bz2
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.lz
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.xz
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.zst
android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.zip
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index 3925a2757..2ddeb88c7 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -533,20 +533,40 @@ protected:
std::string mVariable;
std::string mSelection;
std::string currentValue;
+ std::string mHeaderText;
+ std::string mLastValue;
+ int actualLineHeight;
int mStart;
+ int startY;
+ int mSeparatorH, mHeaderSeparatorH;
int mLineSpacing;
int mUpdate;
- int mBackgroundX, mBackgroundY, mBackgroundW, mBackgroundH;
+ int mBackgroundX, mBackgroundY, mBackgroundW, mBackgroundH, mHeaderH;
+ int mIconWidth, mIconHeight, mSelectedIconWidth, mSelectedIconHeight, mUnselectedIconWidth, mUnselectedIconHeight, mHeaderIconHeight, mHeaderIconWidth;
+ int scrollingSpeed;
+ int scrollingY;
static int mSortOrder;
unsigned mFontHeight;
unsigned mLineHeight;
- int mIconWidth, mIconHeight;
+ Resource* mHeaderIcon;
Resource* mIconSelected;
Resource* mIconUnselected;
Resource* mBackground;
Resource* mFont;
COLOR mBackgroundColor;
COLOR mFontColor;
+ COLOR mHeaderBackgroundColor;
+ COLOR mHeaderFontColor;
+ COLOR mSeparatorColor;
+ COLOR mHeaderSeparatorColor;
+ bool hasHighlightColor;
+ bool hasFontHighlightColor;
+ bool isHighlighted;
+ COLOR mHighlightColor;
+ COLOR mFontHighlightColor;
+ int mHeaderIsStatic;
+ int startSelection;
+ int touchDebounce;
};
// GUIAnimation - Used for animations