From 18aaa873abcaa617bbd296f73138d062423662b8 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 15 Jul 2009 14:43:16 -0600 Subject: Merge and cleanup attribute code --- src/gui/statuswindow.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/gui/statuswindow.h') 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 @@ -49,16 +49,15 @@ 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: -- cgit v1.2.3-70-g09d2