summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-10 18:31:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-10 18:31:37 +0300
commit5459411ec64d09895f6a5a2944cf4215a3ea1c1a (patch)
treeaf09683b7f22dcd18da18cc7d58e5e051910181b /src/gui/widgets/scrollarea.h
parentb939ab9402d0f8bc4cac933b4ec118f0d9e901a9 (diff)
downloadmanaplus-5459411ec64d09895f6a5a2944cf4215a3ea1c1a.tar.gz
manaplus-5459411ec64d09895f6a5a2944cf4215a3ea1c1a.tar.bz2
manaplus-5459411ec64d09895f6a5a2944cf4215a3ea1c1a.tar.xz
manaplus-5459411ec64d09895f6a5a2944cf4215a3ea1c1a.zip
Remove duplicate code from scrollarea.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index 4653359e8..6a91ac0f8 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -456,6 +456,8 @@ class ScrollArea final : public BasicContainer,
void calcVMarker(Graphics *const graphics);
void calcHMarker(Graphics *const graphics);
+ Image *getImageByState(Rect &dim, const BUTTON_DIR dir);
+
void updateCalcFlag(Graphics *const graphics);
static int instances;