summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index 7913b36cb..84a9e5ecf 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -1000,7 +1000,7 @@ protected:
// Handles displaying the text properly when chars are added, deleted, or for scrolling
void HandleTextLocation(int x);
- void UpdateTextWidth();
+ void UpdateDisplayText();
void HandleCursorByTouch(int x);
void HandleCursorByText();
@@ -1010,15 +1010,14 @@ protected:
ImageResource* mBackground;
ImageResource* mCursor;
FontResource* mFont;
- std::string mText;
- std::string mLastValue;
std::string mVariable;
std::string mMask;
+ std::string mValue;
std::string displayValue;
COLOR mBackgroundColor;
COLOR mCursorColor;
int scrollingX;
- int cursorX;
+ int cursorX; // actual x axis location of the cursor
int lastX;
int mCursorLocation;
int mBackgroundX, mBackgroundY, mBackgroundW, mBackgroundH;