summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-15 14:43:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-15 14:47:24 -0600
commit18aaa873abcaa617bbd296f73138d062423662b8 (patch)
treecfdcf6d3a5750549c01df38cda27f0ea14b47279 /src/gui/statuswindow.h
parentfa6d39d9f56e09abfb6b48bacdd66ddbad20c641 (diff)
downloadmana-18aaa873abcaa617bbd296f73138d062423662b8.tar.gz
mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.bz2
mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.xz
mana-18aaa873abcaa617bbd296f73138d062423662b8.zip
Merge and cleanup attribute code
Diffstat (limited to 'src/gui/statuswindow.h')
-rw-r--r--src/gui/statuswindow.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h
index 7b3b8ae0..d5bd8fd6 100644
--- a/src/gui/statuswindow.h
+++ b/src/gui/statuswindow.h
@@ -50,15 +50,14 @@ class StatusWindow : public Window, public gcn::ActionListener
void action(const gcn::ActionEvent &event);
/**
- * Draw this window
- */
- void draw(gcn::Graphics *graphics);
-
- /**
* Updates this dialog with values from PLAYER_INFO *char_info
*/
void update();
+ std::string update(int id);
+
+ void addAttribute(int id, const std::string &name, bool modifiable);
+
static void updateHPBar(ProgressBar *bar, bool showMax = false);
private: