aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-11 17:17:21 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-11 17:17:21 (GMT)
commit72a45fae3c39323206e7d19913bb3ab17a691691 (patch)
treef920a884d39c8d5d161e0fa7a3c8a6296f7a3d71 /src/MenuCreator.hh
parent85d8ac754974aae0a513b585e4f1810007cb157c (diff)
downloadfluxbox_pavel-72a45fae3c39323206e7d19913bb3ab17a691691.zip
fluxbox_pavel-72a45fae3c39323206e7d19913bb3ab17a691691.tar.bz2
reuse some menu pointers instead of using delete/new
Diffstat (limited to 'src/MenuCreator.hh')
-rw-r--r--src/MenuCreator.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MenuCreator.hh b/src/MenuCreator.hh
index 4494dc7..660d097 100644
--- a/src/MenuCreator.hh
+++ b/src/MenuCreator.hh
@@ -36,9 +36,9 @@ class FluxboxWindow;
36class MenuCreator { 36class MenuCreator {
37public: 37public:
38 static FbTk::Menu *createMenu(const std::string &label, int screen_num); 38 static FbTk::Menu *createMenu(const std::string &label, int screen_num);
39 static FbTk::Menu *createFromFile(const std::string &filename, int screen_num);
40 static FbTk::Menu *createMenuType(const std::string &label, int screen_num); 39 static FbTk::Menu *createMenuType(const std::string &label, int screen_num);
41 static bool createFromFile(const std::string &filename, FbTk::Menu &inject_into); 40 static bool createFromFile(const std::string &filename,
41 FbTk::Menu &inject_into, bool begin = true);
42 static bool createWindowMenuFromFile(const std::string &filename, FbTk::Menu &inject_into); 42 static bool createWindowMenuFromFile(const std::string &filename, FbTk::Menu &inject_into);
43 static bool createWindowMenuItem(const std::string &type, const std::string &label, 43 static bool createWindowMenuItem(const std::string &type, const std::string &label,
44 FbTk::Menu &inject_into); 44 FbTk::Menu &inject_into);