Skip to content
Newer
Older
100644 48 lines (32 sloc) 928 Bytes
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
1 // This file may be redistributed and modified only under the terms of
2 // the GNU General Public License (See COPYING for details).
3 // Copyright (C) 2005 Alistair Riddoch
4
5 #ifndef SEAR_GUICHAN_STATUSWINDOW_H
6 #define SEAR_GUICHAN_STATUSWINDOW_H
7
cfd3cdd 2006-01-25 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Jan 25, 2006
8 #include <Eris/EntityRef.h>
9
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
10 #include <guichan/widgets/window.hpp>
11
12 #include <sigc++/object.h>
13
5724f4f @drsgoodall 2006-04-30 Simon Goodall <sear@simongoodall.co.uk>
drsgoodall authored Apr 30, 2006
14 #include "common/SPtr.h"
15
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
16 // #include <map>
17 // #include <string>
18
19 namespace gcn {
20
21 class Box;
22 class Bar;
23
24 } // namespace gcn
25
26 namespace Sear {
27
561dadf @drsgoodall 2008-04-06 Simon Goodall <simon@worldforge.org>
drsgoodall authored Apr 6, 2008
28 class StatusWindow : // virtual public sigc::trackable,
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
29 public gcn::Window {
30 protected:
5724f4f @drsgoodall 2006-04-30 Simon Goodall <sear@simongoodall.co.uk>
drsgoodall authored Apr 30, 2006
31 std::list<SPtr<gcn::Widget> > m_widgets;
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
32 gcn::Box * m_vbox;
33 gcn::Bar * m_healthBar;
34 gcn::Bar * m_staminaBar;
35 gcn::Bar * m_manaBar;
cfd3cdd 2006-01-25 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Jan 25, 2006
36
37 Eris::EntityRef m_entity;
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
38 public:
cfd3cdd 2006-01-25 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Jan 25, 2006
39 explicit StatusWindow(Eris::Entity *);
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
40 virtual ~StatusWindow();
41
1ad85be 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
42 virtual void logic();
6e6a2d5 2005-09-20 Al Riddoch <alriddoch@zepler.org>
Al Riddoch authored Sep 20, 2005
43 };
44
45 } // namespace Sear
46
47 #endif // SEAR_GUICHAN_STATUSWINDOW_H
Something went wrong with that request. Please try again.