summaryrefslogtreecommitdiff
path: root/src/gui/specialswindow.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-15 02:45:23 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-09-28 18:35:14 +0200
commiteb5d34756588ca95003094bc910efcb5c832390f (patch)
treecf0b8d150251a5671ae39ed049951b3b6e68bbb5 /src/gui/specialswindow.h
parent095fe98b5a26276e15e0ed781d1ba051346e354f (diff)
downloadmana-eb5d34756588ca95003094bc910efcb5c832390f.tar.gz
mana-eb5d34756588ca95003094bc910efcb5c832390f.tar.bz2
mana-eb5d34756588ca95003094bc910efcb5c832390f.tar.xz
mana-eb5d34756588ca95003094bc910efcb5c832390f.zip
Fixed back the special window display in a basic but working way.
This to avoid cluttering the gui until Crush has the time to fulfill his issue about those.
Diffstat (limited to 'src/gui/specialswindow.h')
-rw-r--r--src/gui/specialswindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/specialswindow.h b/src/gui/specialswindow.h
index dedeeffc..b440ce13 100644
--- a/src/gui/specialswindow.h
+++ b/src/gui/specialswindow.h
@@ -51,6 +51,9 @@ class SpecialsWindow : public Window, public gcn::ActionListener {
void draw(gcn::Graphics *graphics);
+ bool hasSpecials()
+ { return !mEntries.empty(); }
+
private:
// (re)constructs the list of specials
void rebuild(const std::map<int, Special> &specialData);