summaryrefslogtreecommitdiff
path: root/src/gui/textpopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-10 04:36:19 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-10 04:36:19 +0200
commiteb1428dded5d2be98eff034fd26a08c109d2376c (patch)
tree3672f9023151e496d1066a1fcdf9ae03ec478917 /src/gui/textpopup.h
parentf74cf5eb61deccc478d2a4cbc7a352748d96c65e (diff)
downloadplus-eb1428dded5d2be98eff034fd26a08c109d2376c.tar.gz
plus-eb1428dded5d2be98eff034fd26a08c109d2376c.tar.bz2
plus-eb1428dded5d2be98eff034fd26a08c109d2376c.tar.xz
plus-eb1428dded5d2be98eff034fd26a08c109d2376c.zip
Add to text popups bar name in top left corner.
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r--src/gui/textpopup.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h
index 3b4158f6e..f13a0484c 100644
--- a/src/gui/textpopup.h
+++ b/src/gui/textpopup.h
@@ -50,19 +50,28 @@ class TextPopup : public Popup
* Sets the text to be displayed.
*/
void show(int x, int y, const std::string &str1)
- { show(x, y, str1, static_cast<const char*>("")); };
+ { show(x, y, str1, static_cast<const char*>(""),
+ static_cast<const char*>("")); };
/**
* Sets the text to be displayed.
*/
void show(int x, int y, const std::string &str1,
- const std::string &str2);
+ const std::string &str2)
+ { show(x, y, str1, str2, static_cast<const char*>("")); }
+
+ /**
+ * Sets the text to be displayed.
+ */
+ void show(int x, int y, const std::string &str1,
+ const std::string &str2, const std::string &str3);
void mouseMoved(gcn::MouseEvent &mouseEvent);
private:
gcn::Label *mText1;
gcn::Label *mText2;
+ gcn::Label *mText3;
};
#endif // TEXTPOPUP_H