summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 18:28:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitdf5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch)
tree281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/progressbar.h
parent2bf115745f111215b651b87288eb9d15ceb333be (diff)
downloadmanaplus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.gz
manaplus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.bz2
manaplus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.xz
manaplus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.zip
Derive all widgets from Widget2 class.
Diffstat (limited to 'src/gui/widgets/progressbar.h')
-rw-r--r--src/gui/widgets/progressbar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h
index d306f58cb..646aec97f 100644
--- a/src/gui/widgets/progressbar.h
+++ b/src/gui/widgets/progressbar.h
@@ -23,12 +23,13 @@
#ifndef PROGRESSBAR_H
#define PROGRESSBAR_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widget.hpp>
+#include <guichan/widgetlistener.hpp>
#include <string>
-#include <guichan/widgetlistener.hpp>
-
#include "localconsts.h"
class Graphics;
@@ -41,7 +42,9 @@ class Skin;
*
* \ingroup GUI
*/
-class ProgressBar final : public gcn::Widget, public gcn::WidgetListener
+class ProgressBar final : public gcn::Widget,
+ public Widget2,
+ public gcn::WidgetListener
{
public:
/**