diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 18:28:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | df5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch) | |
tree | 281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/progressindicator.h | |
parent | 2bf115745f111215b651b87288eb9d15ceb333be (diff) | |
download | plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.gz plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.bz2 plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.xz plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.zip |
Derive all widgets from Widget2 class.
Diffstat (limited to 'src/gui/widgets/progressindicator.h')
-rw-r--r-- | src/gui/widgets/progressindicator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/progressindicator.h b/src/gui/widgets/progressindicator.h index d96cc8f8c..56f2daff5 100644 --- a/src/gui/widgets/progressindicator.h +++ b/src/gui/widgets/progressindicator.h @@ -22,6 +22,8 @@ #ifndef PROGRESSINDICATOR_H #define PROGRESSINDICATOR_H +#include "gui/widgets/widget2.h" + #include <guichan/widget.hpp> #include "localconsts.h" @@ -32,7 +34,8 @@ class SimpleAnimation; * A widget that indicates progress. Suitable to use instead of a progress bar * in cases where it is unknown how long something is going to take. */ -class ProgressIndicator final : public gcn::Widget +class ProgressIndicator final : public gcn::Widget, + public Widget2 { public: ProgressIndicator(); |