diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-16 07:39:05 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-16 07:39:05 (GMT) |
commit | 6d5781ce7198a8a82fd0cae8554e4c120d01df3d (patch) | |
tree | 265fd89d382dcf6d9a8e2ea84813db0332aa83cd /src/Screen.hh | |
parent | b4958780650cfab97d4dc694a34c0c77bf99b26d (diff) | |
download | fluxbox-6d5781ce7198a8a82fd0cae8554e4c120d01df3d.zip fluxbox-6d5781ce7198a8a82fd0cae8554e4c120d01df3d.tar.bz2 |
Refactor: move some menu-creation functions to MenuCreator
Another patch to trim down the code that needs to be part of BScreen
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index dcdcb06..eb2a306 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -43,13 +43,7 @@ | |||
43 | 43 | ||
44 | #include "FocusControl.hh" | 44 | #include "FocusControl.hh" |
45 | 45 | ||
46 | #include <X11/Xresource.h> | 46 | #include <cstdio> |
47 | |||
48 | #ifdef HAVE_CSTDIO | ||
49 | #include <cstdio> | ||
50 | #else | ||
51 | #include <stdio.h> | ||
52 | #endif | ||
53 | #include <list> | 47 | #include <list> |
54 | #include <vector> | 48 | #include <vector> |
55 | #include <fstream> | 49 | #include <fstream> |
@@ -234,19 +228,6 @@ public: | |||
234 | bool isCycling() const { return m_cycling; } | 228 | bool isCycling() const { return m_cycling; } |
235 | 229 | ||
236 | /** | 230 | /** |
237 | * Creates an empty menu with specified label | ||
238 | * @param label for the menu | ||
239 | * @return created menu | ||
240 | */ | ||
241 | FbMenu *createMenu(const std::string &label); | ||
242 | /** | ||
243 | * Creates an empty toggle menu with a specific label | ||
244 | * @param label | ||
245 | * @return created menu | ||
246 | */ | ||
247 | FbMenu *createToggleMenu(const std::string &label); | ||
248 | |||
249 | /** | ||
250 | * For extras to add menus. | 231 | * For extras to add menus. |
251 | * These menus will be marked internal, | 232 | * These menus will be marked internal, |
252 | * and deleted when the window dies (as opposed to Screen | 233 | * and deleted when the window dies (as opposed to Screen |