aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-05-03 13:53:25 (GMT)
committersimonb <simonb>2005-05-03 13:53:25 (GMT)
commit7d4f711204ab0b51d45eaff332708f529c11c9f5 (patch)
tree57488fc9d10740f0501396f68b4e061b0cec8810 /src/Screen.cc
parent575578d810733e0ca8d970f5923594a9d1930216 (diff)
downloadfluxbox_pavel-7d4f711204ab0b51d45eaff332708f529c11c9f5.zip
fluxbox_pavel-7d4f711204ab0b51d45eaff332708f529c11c9f5.tar.bz2
fix some menu drawing issues
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 36ab193..68ae3a4 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1829,17 +1829,17 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1829 } 1829 }
1830 1830
1831 FbTk::MenuItem *focused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, FocusedAlpha, "Focused Window Alpha", "Transparency level of the focused window"), 1831 FbTk::MenuItem *focused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, FocusedAlpha, "Focused Window Alpha", "Transparency level of the focused window"),
1832 resource.focused_alpha, 0, 255); 1832 resource.focused_alpha, 0, 255, *alpha_menu);
1833 focused_alpha_item->setCommand(saverc_cmd); 1833 focused_alpha_item->setCommand(saverc_cmd);
1834 alpha_menu->insert(focused_alpha_item); 1834 alpha_menu->insert(focused_alpha_item);
1835 1835
1836 FbTk::MenuItem *unfocused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, UnfocusedAlpha, "Unfocused Window Alpha", "Transparency level of unfocused windows"), 1836 FbTk::MenuItem *unfocused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, UnfocusedAlpha, "Unfocused Window Alpha", "Transparency level of unfocused windows"),
1837 resource.unfocused_alpha, 0, 255); 1837 resource.unfocused_alpha, 0, 255, *alpha_menu);
1838 unfocused_alpha_item->setCommand(saverc_cmd); 1838 unfocused_alpha_item->setCommand(saverc_cmd);
1839 alpha_menu->insert(unfocused_alpha_item); 1839 alpha_menu->insert(unfocused_alpha_item);
1840 1840
1841 FbTk::MenuItem *menu_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, MenuAlpha, "Menu Alpha", "Transparency level of menu"), 1841 FbTk::MenuItem *menu_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, MenuAlpha, "Menu Alpha", "Transparency level of menu"),
1842 resource.menu_alpha, 0, 255); 1842 resource.menu_alpha, 0, 255, *alpha_menu);
1843 menu_alpha_item->setCommand(saverc_cmd); 1843 menu_alpha_item->setCommand(saverc_cmd);
1844 alpha_menu->insert(menu_alpha_item); 1844 alpha_menu->insert(menu_alpha_item);
1845 1845