aboutsummaryrefslogtreecommitdiff
path: root/src/LayerMenu.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-15 21:03:57 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:26 (GMT)
commitcab5fa69f059033c4e304076f1892d9cf7c84031 (patch)
treedd56d66c9f19dbdc606c144e8c6af2a6a444c324 /src/LayerMenu.cc
parenta897844ea1cfa6303112fd3f0d472d3e135bdc6d (diff)
downloadfluxbox_pavel-cab5fa69f059033c4e304076f1892d9cf7c84031.zip
fluxbox_pavel-cab5fa69f059033c4e304076f1892d9cf7c84031.tar.bz2
Move declarations of Resource enums to a separate file
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
Diffstat (limited to 'src/LayerMenu.cc')
-rw-r--r--src/LayerMenu.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LayerMenu.cc b/src/LayerMenu.cc
index 94a6622..fda3da2 100644
--- a/src/LayerMenu.cc
+++ b/src/LayerMenu.cc
@@ -42,12 +42,12 @@ LayerMenu::LayerMenu(FbTk::ThemeProxy<FbTk::MenuTheme> &tm,
42 int layernum; 42 int layernum;
43 } layer_menuitems[] = { 43 } layer_menuitems[] = {
44 //TODO: nls 44 //TODO: nls
45 {0, 0, _FB_XTEXT(Layer, AboveDock, "Above Dock", "Layer above dock"), ResourceLayer::ABOVE_DOCK}, 45 {0, 0, _FB_XTEXT(Layer, AboveDock, "Above Dock", "Layer above dock"), LAYERABOVE_DOCK},
46 {0, 0, _FB_XTEXT(Layer, Dock, "Dock", "Layer dock"), ResourceLayer::DOCK}, 46 {0, 0, _FB_XTEXT(Layer, Dock, "Dock", "Layer dock"), LAYERDOCK},
47 {0, 0, _FB_XTEXT(Layer, Top, "Top", "Layer top"), ResourceLayer::TOP}, 47 {0, 0, _FB_XTEXT(Layer, Top, "Top", "Layer top"), LAYERTOP},
48 {0, 0, _FB_XTEXT(Layer, Normal, "Normal", "Layer normal"), ResourceLayer::NORMAL}, 48 {0, 0, _FB_XTEXT(Layer, Normal, "Normal", "Layer normal"), LAYERNORMAL},
49 {0, 0, _FB_XTEXT(Layer, Bottom, "Bottom", "Layer bottom"), ResourceLayer::BOTTOM}, 49 {0, 0, _FB_XTEXT(Layer, Bottom, "Bottom", "Layer bottom"), LAYERBOTTOM},
50 {0, 0, _FB_XTEXT(Layer, Desktop, "Desktop", "Layer desktop"), ResourceLayer::DESKTOP}, 50 {0, 0, _FB_XTEXT(Layer, Desktop, "Desktop", "Layer desktop"), LAYERDESKTOP},
51 }; 51 };
52 52
53 FbTk::RefCount<FbTk::Command<void> > saverc_cmd(new FbCommands::SaveResources()); 53 FbTk::RefCount<FbTk::Command<void> > saverc_cmd(new FbCommands::SaveResources());