summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-02-06 00:58:16 +0100
committerthat <github@that.at>2015-02-06 00:58:16 +0100
commit05360ba6b00e39f4ec4399f3007d6ace6b6598d7 (patch)
treebc738c158e4c71633f34eb9146fde04996d02f75 /gui/objects.hpp
parentgui: make kinetic scrolling more natural (diff)
downloadandroid_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar.gz
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar.bz2
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar.lz
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar.xz
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.tar.zst
android_bootable_recovery-05360ba6b00e39f4ec4399f3007d6ace6b6598d7.zip
Diffstat (limited to '')
-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;