summaryrefslogtreecommitdiff
path: root/src/gui/widgets/playerbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-03 14:59:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-03 14:59:29 +0300
commitf555fdf0d99622ac0d52881ebf126377287f1d3e (patch)
treeec3648afe7a084488c78c6b61c425333aba7bc34 /src/gui/widgets/playerbox.h
parent56b3195a88c660ced1c19de77e13db1f630c5ecd (diff)
downloadmanaplus-f555fdf0d99622ac0d52881ebf126377287f1d3e.tar.gz
manaplus-f555fdf0d99622ac0d52881ebf126377287f1d3e.tar.bz2
manaplus-f555fdf0d99622ac0d52881ebf126377287f1d3e.tar.xz
manaplus-f555fdf0d99622ac0d52881ebf126377287f1d3e.zip
remove scrollarea from playerbox base classes.
Diffstat (limited to 'src/gui/widgets/playerbox.h')
-rw-r--r--src/gui/widgets/playerbox.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h
index 7481dc9db..aae2eefe6 100644
--- a/src/gui/widgets/playerbox.h
+++ b/src/gui/widgets/playerbox.h
@@ -23,7 +23,9 @@
#ifndef GUI_WIDGETS_PLAYERBOX_H
#define GUI_WIDGETS_PLAYERBOX_H
-#include "gui/base/widgets/scrollarea.hpp"
+#include "gui/widgets/scrollarea.h"
+
+#include "listeners/mouselistener.h"
#include "localconsts.h"
@@ -35,7 +37,8 @@ class Skin;
*
* \ingroup GUI
*/
-class PlayerBox final : public gcn::ScrollArea
+class PlayerBox final : public Widget,
+ public MouseListener
{
public:
/**