diff options
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r-- | gui/objects.hpp | 9 |
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 |