summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index 0928f3050..c286567f9 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -407,11 +407,11 @@ protected:
COLOR mForegroundColor;
COLOR mBackgroundColor;
COLOR mScrollColor;
- unsigned int mFontHeight;
- int mCurrentLine;
- unsigned int mLastCount;
- unsigned int RenderCount;
- unsigned int mMaxRows;
+ int mFontHeight;
+ int mCurrentLine; // index of last line to show; -1 to keep tracking last line
+ size_t mLastCount; // lines from gConsole that are already split and copied into rConsole
+ size_t RenderCount; // total number of lines after wrapping
+ int mMaxRows; // height of console in text rows
int mStartY;
int mSlideoutX, mSlideoutY, mSlideoutW, mSlideoutH;
int mSlideinX, mSlideinY, mSlideinW, mSlideinH;