diff options
author | fluxgen <fluxgen> | 2003-07-10 12:00:09 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-07-10 12:00:09 (GMT) |
commit | 0e1a719781b0a28ddf3f6d8dbdd10a963fef9bfa (patch) | |
tree | 1e987b1ebedf47d2b8db662977abc6d943ff4b7e /src/ToolbarTheme.hh | |
parent | f0700416fd670bf40c261ef0c9fd33f14245174f (diff) | |
download | fluxbox_pavel-0e1a719781b0a28ddf3f6d8dbdd10a963fef9bfa.zip fluxbox_pavel-0e1a719781b0a28ddf3f6d8dbdd10a963fef9bfa.tar.bz2 |
added shape
Diffstat (limited to 'src/ToolbarTheme.hh')
-rw-r--r-- | src/ToolbarTheme.hh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ToolbarTheme.hh b/src/ToolbarTheme.hh index dda3346..770967f 100644 --- a/src/ToolbarTheme.hh +++ b/src/ToolbarTheme.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ToolbarTheme.hh,v 1.3 2003/06/24 16:26:56 fluxgen Exp $ | 22 | // $Id: ToolbarTheme.hh,v 1.4 2003/07/10 12:00:09 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef TOOLBARTHEME_HH | 24 | #ifndef TOOLBARTHEME_HH |
25 | #define TOOLBARTHEME_HH | 25 | #define TOOLBARTHEME_HH |
@@ -73,10 +73,13 @@ public: | |||
73 | ///@} | 73 | ///@} |
74 | FbTk::Justify justify() const { return *m_justify; } | 74 | FbTk::Justify justify() const { return *m_justify; } |
75 | 75 | ||
76 | int borderWidth() const { return *m_border_width; } | 76 | inline int borderWidth() const { return *m_border_width; } |
77 | int bevelWidth() const { return *m_bevel_width; } | 77 | inline int bevelWidth() const { return *m_bevel_width; } |
78 | inline bool shape() const { return *m_shape; } | ||
79 | |||
78 | void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); } | 80 | void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); } |
79 | void removeListener(FbTk::Observer &obs) { m_theme_change_sig.detach(&obs); } | 81 | void removeListener(FbTk::Observer &obs) { m_theme_change_sig.detach(&obs); } |
82 | |||
80 | private: | 83 | private: |
81 | // text colors | 84 | // text colors |
82 | FbTk::ThemeItem<FbTk::Color> m_label_textcolor, m_window_textcolor, m_clock_textcolor; | 85 | FbTk::ThemeItem<FbTk::Color> m_label_textcolor, m_window_textcolor, m_clock_textcolor; |
@@ -87,6 +90,8 @@ private: | |||
87 | FbTk::ThemeItem<FbTk::Justify> m_justify; | 90 | FbTk::ThemeItem<FbTk::Justify> m_justify; |
88 | 91 | ||
89 | FbTk::ThemeItem<int> m_border_width, m_bevel_width; | 92 | FbTk::ThemeItem<int> m_border_width, m_bevel_width; |
93 | FbTk::ThemeItem<bool> m_shape; | ||
94 | |||
90 | // graphic context | 95 | // graphic context |
91 | GC m_label_text_gc, m_window_text_gc, m_clock_text_gc, m_button_pic_gc; | 96 | GC m_label_text_gc, m_window_text_gc, m_clock_text_gc, m_button_pic_gc; |
92 | Display *m_display; | 97 | Display *m_display; |