summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp33
1 files changed, 31 insertions, 2 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index c310b369a..2ddeb88c7 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -355,6 +355,9 @@ protected:
int mTextX, mTextY, mTextW, mTextH;
int mIconX, mIconY, mIconW, mIconH;
bool mRendered;
+ bool hasHighlightColor;
+ bool renderHighlight;
+ COLOR mHighlightColor;
};
class GUICheckbox: public RenderObject, public ActionObject, public Conditional
@@ -478,6 +481,12 @@ protected:
COLOR mHeaderFontColor;
COLOR mSeparatorColor;
COLOR mHeaderSeparatorColor;
+ bool hasHighlightColor;
+ bool hasFontHighlightColor;
+ bool isHighlighted;
+ COLOR mHighlightColor;
+ COLOR mFontHighlightColor;
+ int startSelection;
};
class GUIListBox : public RenderObject, public ActionObject
@@ -524,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