aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Remember.hh b/src/Remember.hh
index edfa97a..59d6d22 100644
--- a/src/Remember.hh
+++ b/src/Remember.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: Remember.hh,v 1.3 2003/04/26 12:44:53 fluxgen Exp $ 23// $Id: Remember.hh,v 1.4 2003/04/26 13:47:53 rathnor Exp $
24 24
25/* Based on the original "Remember patch" by Xavier Brouckaert */ 25/* Based on the original "Remember patch" by Xavier Brouckaert */
26 26
@@ -44,6 +44,7 @@ public:
44 inline void forgetDecostate() { decostate_remember = false; } 44 inline void forgetDecostate() { decostate_remember = false; }
45 inline void forgetStuckstate() { stuckstate_remember = false; } 45 inline void forgetStuckstate() { stuckstate_remember = false; }
46 inline void forgetJumpworkspace() { jumpworkspace_remember = false; } 46 inline void forgetJumpworkspace() { jumpworkspace_remember = false; }
47 inline void forgetLayer() { layer_remember = false; }
47 inline void forgetSaveOnClose() { save_on_close_remember = false; } 48 inline void forgetSaveOnClose() { save_on_close_remember = false; }
48 49
49 inline void rememberWorkspace(int ws) 50 inline void rememberWorkspace(int ws)
@@ -62,6 +63,8 @@ public:
62 { stuckstate = state; stuckstate_remember = true; } 63 { stuckstate = state; stuckstate_remember = true; }
63 inline void rememberJumpworkspace(bool state) 64 inline void rememberJumpworkspace(bool state)
64 { jumpworkspace = state; jumpworkspace_remember = true; } 65 { jumpworkspace = state; jumpworkspace_remember = true; }
66 inline void rememberLayer(int layernum)
67 { layer = layernum; layer_remember = true; }
65 inline void rememberSaveOnClose(bool state) 68 inline void rememberSaveOnClose(bool state)
66 { save_on_close = state; save_on_close_remember = true; } 69 { save_on_close = state; save_on_close_remember = true; }
67 70
@@ -90,6 +93,9 @@ public:
90 bool jumpworkspace_remember; 93 bool jumpworkspace_remember;
91 bool jumpworkspace; 94 bool jumpworkspace;
92 95
96 bool layer_remember;
97 int layer;
98
93 bool save_on_close_remember; 99 bool save_on_close_remember;
94 bool save_on_close; 100 bool save_on_close;
95}; 101};
@@ -116,6 +122,7 @@ public:
116 REM_DECOSTATE, 122 REM_DECOSTATE,
117 REM_SHADEDSTATE, 123 REM_SHADEDSTATE,
118 //REM_TABSTATE, ... external tabs disabled atm 124 //REM_TABSTATE, ... external tabs disabled atm
125 REM_LAYER,
119 REM_JUMPWORKSPACE, 126 REM_JUMPWORKSPACE,
120 REM_SAVEONCLOSE, 127 REM_SAVEONCLOSE,
121 REM_LASTATTRIB // not actually used 128 REM_LASTATTRIB // not actually used