From ae9577c6a52a1e4eb1ff647905672ca840ad3e44 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Sep 2011 00:57:59 +0300 Subject: Simplify menu creation in popupmenu class. --- src/gui/widgets/browserbox.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index cd69ce56f..e86f0288e 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -112,6 +112,11 @@ class BrowserBox : public gcn::Widget, */ void addRow(const std::string &row, bool atTop = false); + /** + * Adds a menu line to the browser. + */ + void addRow(const std::string &cmd, char *text); + void addImage(const std::string &path); /** -- cgit v1.2.3-60-g2f50