diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-08-15 21:03:57 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:13:13 (GMT) |
commit | bc803c3211f3caa3554c9e96f687701de007b436 (patch) | |
tree | d23fbbeb9affe7a4c3d67cde7c4732dd47625682 /src/LayerMenu.cc | |
parent | 3012793a8f9151ded4c83da6075919a36dde412f (diff) | |
download | fluxbox_paul-bc803c3211f3caa3554c9e96f687701de007b436.zip fluxbox_paul-bc803c3211f3caa3554c9e96f687701de007b436.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.cc | 12 |
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()); |