From eead985c5729bbd53c70b902e99754b350390be2 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Fri, 15 Feb 2013 14:31:06 -0600 Subject: Update listbox code --- gui/objects.hpp | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'gui/objects.hpp') 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 -- cgit v1.2.3