summaryrefslogtreecommitdiff
path: root/src/gui/playerbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/playerbox.h')
-rw-r--r--src/gui/playerbox.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gui/playerbox.h b/src/gui/playerbox.h
index cf7c3995..39fa39b4 100644
--- a/src/gui/playerbox.h
+++ b/src/gui/playerbox.h
@@ -33,7 +33,8 @@
*
* \ingroup GUI
*/
-class PlayerBox : public gcn::ScrollArea {
+class PlayerBox : public gcn::ScrollArea
+{
public:
/**
* Constructor.
@@ -41,6 +42,11 @@ class PlayerBox : public gcn::ScrollArea {
PlayerBox();
/**
+ * Destructor.
+ */
+ ~PlayerBox();
+
+ /**
* Draws the scroll area.
*/
void draw(gcn::Graphics *graphics);
@@ -55,7 +61,8 @@ class PlayerBox : public gcn::ScrollArea {
bool showPlayer; /**< Wether to show the player or not */
private:
- ImageRect background;
+ static int instances;
+ static ImageRect background;
};
#endif