aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2007-01-07 11:55:14 (GMT)
committersimonb <simonb>2007-01-07 11:55:14 (GMT)
commit1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de (patch)
tree1de2b149b23e589a36c81bd2aa51092db7b6e190 /src/Screen.cc
parentcfd33dd7a8f392253d8af9f418d86dc3083fc27d (diff)
downloadfluxbox_pavel-1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de.zip
fluxbox_pavel-1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de.tar.bz2
per-window transparency, including apps and menu support, plus some
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 5ea6202..58f195a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1689,7 +1689,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1689 *resource.max_over_tabs, save_and_reconfigure)); 1689 *resource.max_over_tabs, save_and_reconfigure));
1690 1690
1691 FbTk::MenuItem *tab_width_item = 1691 FbTk::MenuItem *tab_width_item =
1692 new IntResMenuItem(_FB_XTEXT(Configmenu, ExternalTabWidth, 1692 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, ExternalTabWidth,
1693 "External Tab Width", 1693 "External Tab Width",
1694 "Width of external-style tabs"), 1694 "Width of external-style tabs"),
1695 resource.tab_width, 10, 3000, /* silly number */ 1695 resource.tab_width, 10, 3000, /* silly number */
@@ -1791,7 +1791,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1791 } 1791 }
1792 1792
1793 FbTk::MenuItem *focused_alpha_item = 1793 FbTk::MenuItem *focused_alpha_item =
1794 new IntResMenuItem(_FB_XTEXT(Configmenu, FocusedAlpha, 1794 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, FocusedAlpha,
1795 "Focused Window Alpha", 1795 "Focused Window Alpha",
1796 "Transparency level of the focused window"), 1796 "Transparency level of the focused window"),
1797 resource.focused_alpha, 0, 255, *alpha_menu); 1797 resource.focused_alpha, 0, 255, *alpha_menu);
@@ -1799,7 +1799,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1799 alpha_menu->insert(focused_alpha_item); 1799 alpha_menu->insert(focused_alpha_item);
1800 1800
1801 FbTk::MenuItem *unfocused_alpha_item = 1801 FbTk::MenuItem *unfocused_alpha_item =
1802 new IntResMenuItem(_FB_XTEXT(Configmenu, 1802 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu,
1803 UnfocusedAlpha, 1803 UnfocusedAlpha,
1804 "Unfocused Window Alpha", 1804 "Unfocused Window Alpha",
1805 "Transparency level of unfocused windows"), 1805 "Transparency level of unfocused windows"),
@@ -1809,7 +1809,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1809 alpha_menu->insert(unfocused_alpha_item); 1809 alpha_menu->insert(unfocused_alpha_item);
1810 1810
1811 FbTk::MenuItem *menu_alpha_item = 1811 FbTk::MenuItem *menu_alpha_item =
1812 new IntResMenuItem(_FB_XTEXT(Configmenu, MenuAlpha, 1812 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, MenuAlpha,
1813 "Menu Alpha", "Transparency level of menu"), 1813 "Menu Alpha", "Transparency level of menu"),
1814 resource.menu_alpha, 0, 255, *alpha_menu); 1814 resource.menu_alpha, 0, 255, *alpha_menu);
1815 menu_alpha_item->setCommand(saverc_cmd); 1815 menu_alpha_item->setCommand(saverc_cmd);