summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-04 01:59:00 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-04 01:59:00 +0300
commit98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb (patch)
tree4a80a75c1d8d68157430bd43a1cc1e4114b33279 /src
parent0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7 (diff)
downloadManaVerse-98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb.tar.gz
ManaVerse-98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb.tar.bz2
ManaVerse-98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb.tar.xz
ManaVerse-98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb.zip
Add missing initialisations to constructor.
Diffstat (limited to 'src')
-rw-r--r--src/guichan/widgets/scrollarea.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/guichan/widgets/scrollarea.cpp b/src/guichan/widgets/scrollarea.cpp
index f40ba5b87..8001e1d5e 100644
--- a/src/guichan/widgets/scrollarea.cpp
+++ b/src/guichan/widgets/scrollarea.cpp
@@ -60,6 +60,8 @@ namespace gcn
mHScroll = 0;
mHPolicy = SHOW_AUTO;
mVPolicy = SHOW_AUTO;
+ mVBarVisible = false;
+ mHBarVisible = false;
mScrollbarWidth = 12;
mUpButtonPressed = false;
mDownButtonPressed = false;
@@ -71,6 +73,8 @@ namespace gcn
mRightButtonScrollAmount = 10;
mIsVerticalMarkerDragged = false;
mIsHorizontalMarkerDragged = false;
+ mHorizontalMarkerDragOffset = 0;
+ mVerticalMarkerDragOffset = 0;
mOpaque = true;
addMouseListener(this);
@@ -82,6 +86,8 @@ namespace gcn
mHScroll = 0;
mHPolicy = SHOW_AUTO;
mVPolicy = SHOW_AUTO;
+ mVBarVisible = false;
+ mHBarVisible = false;
mScrollbarWidth = 12;
mUpButtonPressed = false;
mDownButtonPressed = false;
@@ -93,6 +99,8 @@ namespace gcn
mRightButtonScrollAmount = 10;
mIsVerticalMarkerDragged = false;
mIsHorizontalMarkerDragged = false;
+ mHorizontalMarkerDragOffset = 0;
+ mVerticalMarkerDragOffset = 0;
mOpaque = true;
setContent(content);
@@ -108,6 +116,8 @@ namespace gcn
mHPolicy = hPolicy;
mVPolicy = vPolicy;
mScrollbarWidth = 12;
+ mVBarVisible = false;
+ mHBarVisible = false;
mUpButtonPressed = false;
mDownButtonPressed = false;
mLeftButtonPressed = false;
@@ -118,6 +128,8 @@ namespace gcn
mRightButtonScrollAmount = 10;
mIsVerticalMarkerDragged = false;
mIsHorizontalMarkerDragged = false;
+ mHorizontalMarkerDragOffset = 0;
+ mVerticalMarkerDragOffset = 0;
mOpaque = true;
setContent(content);