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/Remember.hh | |
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/Remember.hh')
-rw-r--r-- | src/Remember.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Remember.hh b/src/Remember.hh index 42edca3..d78e226 100644 --- a/src/Remember.hh +++ b/src/Remember.hh | |||
@@ -58,6 +58,7 @@ public: | |||
58 | inline void forgetJumpworkspace() { jumpworkspace_remember = false; } | 58 | inline void forgetJumpworkspace() { jumpworkspace_remember = false; } |
59 | inline void forgetLayer() { layer_remember = false; } | 59 | inline void forgetLayer() { layer_remember = false; } |
60 | inline void forgetSaveOnClose() { save_on_close_remember = false; } | 60 | inline void forgetSaveOnClose() { save_on_close_remember = false; } |
61 | inline void forgetAlpha() { alpha_remember = false; } | ||
61 | 62 | ||
62 | inline void rememberWorkspace(int ws) | 63 | inline void rememberWorkspace(int ws) |
63 | { workspace = ws; workspace_remember = true; } | 64 | { workspace = ws; workspace_remember = true; } |
@@ -85,6 +86,8 @@ public: | |||
85 | { layer = layernum; layer_remember = true; } | 86 | { layer = layernum; layer_remember = true; } |
86 | inline void rememberSaveOnClose(bool state) | 87 | inline void rememberSaveOnClose(bool state) |
87 | { save_on_close = state; save_on_close_remember = true; } | 88 | { save_on_close = state; save_on_close_remember = true; } |
89 | inline void rememberAlpha(int focused_a, int unfocused_a) | ||
90 | { focused_alpha = focused_a; unfocused_alpha = unfocused_a; alpha_remember = true; } | ||
88 | 91 | ||
89 | 92 | ||
90 | bool workspace_remember; | 93 | bool workspace_remember; |
@@ -103,6 +106,10 @@ public: | |||
103 | // 2 - lowerleft | 106 | // 2 - lowerleft |
104 | // 3 - lowerright | 107 | // 3 - lowerright |
105 | 108 | ||
109 | bool alpha_remember; | ||
110 | int focused_alpha; | ||
111 | int unfocused_alpha; | ||
112 | |||
106 | bool shadedstate_remember; | 113 | bool shadedstate_remember; |
107 | bool shadedstate; | 114 | bool shadedstate; |
108 | 115 | ||
@@ -161,6 +168,7 @@ public: | |||
161 | //REM_TABSTATE, ... external tabs disabled atm | 168 | //REM_TABSTATE, ... external tabs disabled atm |
162 | REM_WORKSPACE, | 169 | REM_WORKSPACE, |
163 | REM_HEAD, | 170 | REM_HEAD, |
171 | REM_ALPHA, | ||
164 | REM_LASTATTRIB // not actually used | 172 | REM_LASTATTRIB // not actually used |
165 | }; | 173 | }; |
166 | 174 | ||