diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-27 04:42:10 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-27 04:42:10 (GMT) |
commit | 1f5cd12facc662de240b36bf3c5c14f40adf391b (patch) | |
tree | d468908abf2e988265b0c2295dbd265d82ef89b6 /src/FbTk | |
parent | f5024351e79e92d551d561e9756f0869e51af505 (diff) | |
download | fluxbox_lack-1f5cd12facc662de240b36bf3c5c14f40adf391b.zip fluxbox_lack-1f5cd12facc662de240b36bf3c5c14f40adf391b.tar.bz2 |
simplify the window transparency menu and handling a bit
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/DefaultValue.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/DefaultValue.hh b/src/FbTk/DefaultValue.hh index 9f52212..4e7eb49 100644 --- a/src/FbTk/DefaultValue.hh +++ b/src/FbTk/DefaultValue.hh | |||
@@ -34,7 +34,7 @@ public: | |||
34 | inline const T &get() const { return m_use_default ? m_default : m_actual; } | 34 | inline const T &get() const { return m_use_default ? m_default : m_actual; } |
35 | inline void set(const T &val) { m_use_default = false; m_actual = val; } | 35 | inline void set(const T &val) { m_use_default = false; m_actual = val; } |
36 | inline void restoreDefault() { m_use_default = true; } | 36 | inline void restoreDefault() { m_use_default = true; } |
37 | inline void isDefault() const { return m_use_default; } | 37 | inline bool isDefault() const { return m_use_default; } |
38 | 38 | ||
39 | inline DefaultValue<T> &operator =(const T &val) { | 39 | inline DefaultValue<T> &operator =(const T &val) { |
40 | set(val); return *this; | 40 | set(val); return *this; |
@@ -62,7 +62,7 @@ public: | |||
62 | } | 62 | } |
63 | inline void set(const T &val) { m_use_default = false; m_actual = val; } | 63 | inline void set(const T &val) { m_use_default = false; m_actual = val; } |
64 | inline void restoreDefault() { m_use_default = true; } | 64 | inline void restoreDefault() { m_use_default = true; } |
65 | inline void isDefault() const { return m_use_default; } | 65 | inline bool isDefault() const { return m_use_default; } |
66 | 66 | ||
67 | inline DefaultAccessor<T, Receiver> &operator =(const T &val) { | 67 | inline DefaultAccessor<T, Receiver> &operator =(const T &val) { |
68 | set(val); return *this; | 68 | set(val); return *this; |