diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-27 21:55:24 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-27 21:55:24 (GMT) |
commit | b5c354b994bc06667abe35e2d528c0f025703c4e (patch) | |
tree | 081fd3207053a06cb50931ccec3237bc614f10eb /src/Slit.cc | |
parent | 1f5cd12facc662de240b36bf3c5c14f40adf391b (diff) | |
download | fluxbox_pavel-b5c354b994bc06667abe35e2d528c0f025703c4e.zip fluxbox_pavel-b5c354b994bc06667abe35e2d528c0f025703c4e.tar.bz2 |
architecture astronomy
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 7716813..7dfd2f4 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -38,7 +38,6 @@ | |||
38 | #include "Screen.hh" | 38 | #include "Screen.hh" |
39 | #include "ImageControl.hh" | 39 | #include "ImageControl.hh" |
40 | #include "RefCount.hh" | 40 | #include "RefCount.hh" |
41 | #include "BoolMenuItem.hh" | ||
42 | #include "EventManager.hh" | 41 | #include "EventManager.hh" |
43 | #include "SimpleCommand.hh" | 42 | #include "SimpleCommand.hh" |
44 | #include "MacroCommand.hh" | 43 | #include "MacroCommand.hh" |
@@ -50,7 +49,6 @@ | |||
50 | #include "FbTk/Theme.hh" | 49 | #include "FbTk/Theme.hh" |
51 | #include "FbMenu.hh" | 50 | #include "FbMenu.hh" |
52 | #include "Transparent.hh" | 51 | #include "Transparent.hh" |
53 | #include "IntResMenuItem.hh" | ||
54 | 52 | ||
55 | #ifdef XINERAMA | 53 | #ifdef XINERAMA |
56 | #include "Xinerama.hh" | 54 | #include "Xinerama.hh" |
@@ -63,6 +61,8 @@ | |||
63 | #include "FbTk/MenuSeparator.hh" | 61 | #include "FbTk/MenuSeparator.hh" |
64 | #include "FbTk/StringUtil.hh" | 62 | #include "FbTk/StringUtil.hh" |
65 | #include "FbTk/I18n.hh" | 63 | #include "FbTk/I18n.hh" |
64 | #include "FbTk/BoolMenuItem.hh" | ||
65 | #include "FbTk/IntMenuItem.hh" | ||
66 | 66 | ||
67 | #ifdef HAVE_SYS_STAT_H | 67 | #ifdef HAVE_SYS_STAT_H |
68 | #include <sys/types.h> | 68 | #include <sys/types.h> |
@@ -1268,17 +1268,17 @@ void Slit::setupMenu() { | |||
1268 | } | 1268 | } |
1269 | #endif //XINERAMA | 1269 | #endif //XINERAMA |
1270 | 1270 | ||
1271 | m_slitmenu.insert(new BoolMenuItem(_FB_XTEXT(Common, AutoHide, "Auto hide", "This thing automatically hides when not close by"), | 1271 | m_slitmenu.insert(new FbTk::BoolMenuItem(_FB_XTEXT(Common, AutoHide, "Auto hide", "This thing automatically hides when not close by"), |
1272 | *m_rc_auto_hide, | 1272 | m_rc_auto_hide, |
1273 | save_and_reconfigure_slit)); | 1273 | save_and_reconfigure_slit)); |
1274 | 1274 | ||
1275 | m_slitmenu.insert(new BoolMenuItem(_FB_XTEXT(Common, MaximizeOver,"Maximize Over", "Maximize over this thing when maximizing"), | 1275 | m_slitmenu.insert(new FbTk::BoolMenuItem(_FB_XTEXT(Common, MaximizeOver,"Maximize Over", "Maximize over this thing when maximizing"), |
1276 | *m_rc_maximize_over, | 1276 | m_rc_maximize_over, |
1277 | save_and_reconfigure_slit)); | 1277 | save_and_reconfigure_slit)); |
1278 | 1278 | ||
1279 | // this saves resources and clears the slit window to update alpha value | 1279 | // this saves resources and clears the slit window to update alpha value |
1280 | FbTk::MenuItem *alpha_menuitem = | 1280 | FbTk::MenuItem *alpha_menuitem = |
1281 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"), | 1281 | new FbTk::IntMenuItem(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"), |
1282 | m_rc_alpha, | 1282 | m_rc_alpha, |
1283 | 0, 255, m_slitmenu); | 1283 | 0, 255, m_slitmenu); |
1284 | // setup command for alpha value | 1284 | // setup command for alpha value |