diff options
author | simonb <simonb> | 2007-01-07 11:55:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-01-07 11:55:14 (GMT) |
commit | 1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de (patch) | |
tree | 1de2b149b23e589a36c81bd2aa51092db7b6e190 /src/Toolbar.cc | |
parent | cfd33dd7a8f392253d8af9f418d86dc3083fc27d (diff) | |
download | fluxbox-1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de.zip fluxbox-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/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index c0d3f88..4d2f191 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -845,7 +845,7 @@ void Toolbar::setupMenus(bool skip_new_placement) { | |||
845 | reconfig_toolbar_and_save_resource)); | 845 | reconfig_toolbar_and_save_resource)); |
846 | 846 | ||
847 | MenuItem *toolbar_menuitem = | 847 | MenuItem *toolbar_menuitem = |
848 | new IntResMenuItem(_FB_XTEXT(Toolbar, WidthPercent, | 848 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Toolbar, WidthPercent, |
849 | "Toolbar width percent", | 849 | "Toolbar width percent", |
850 | "Percentage of screen width taken by toolbar"), | 850 | "Percentage of screen width taken by toolbar"), |
851 | m_rc_width_percent, | 851 | m_rc_width_percent, |
@@ -922,7 +922,7 @@ void Toolbar::setupMenus(bool skip_new_placement) { | |||
922 | 922 | ||
923 | // this saves resources and clears the slit window to update alpha value | 923 | // this saves resources and clears the slit window to update alpha value |
924 | FbTk::MenuItem *alpha_menuitem = | 924 | FbTk::MenuItem *alpha_menuitem = |
925 | new IntResMenuItem(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"), | 925 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"), |
926 | m_rc_alpha, | 926 | m_rc_alpha, |
927 | 0, 255, menu()); | 927 | 0, 255, menu()); |
928 | // setup command for alpha value | 928 | // setup command for alpha value |