diff options
author | fluxgen <fluxgen> | 2003-06-24 16:26:56 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-24 16:26:56 (GMT) |
commit | 11a0b784b3c3143675ba6b666c57682f4f688e15 (patch) | |
tree | 33574e5eaf2411c512661f20d61d46dcd026b483 /src/ToolbarTheme.hh | |
parent | 976f78576bb17a45719b5c657f695361c6991ddd (diff) | |
download | fluxbox-11a0b784b3c3143675ba6b666c57682f4f688e15.zip fluxbox-11a0b784b3c3143675ba6b666c57682f4f688e15.tar.bz2 |
added bevel, border width and color
Diffstat (limited to 'src/ToolbarTheme.hh')
-rw-r--r-- | src/ToolbarTheme.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ToolbarTheme.hh b/src/ToolbarTheme.hh index cbe9c90..dda3346 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.2 2003/02/15 01:58:52 fluxgen Exp $ | 22 | // $Id: ToolbarTheme.hh,v 1.3 2003/06/24 16:26:56 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef TOOLBARTHEME_HH | 24 | #ifndef TOOLBARTHEME_HH |
25 | #define TOOLBARTHEME_HH | 25 | #define TOOLBARTHEME_HH |
@@ -47,6 +47,7 @@ public: | |||
47 | const FbTk::Color &windowTextColor() const { return *m_window_textcolor; } | 47 | const FbTk::Color &windowTextColor() const { return *m_window_textcolor; } |
48 | const FbTk::Color &clockTextColor() const { return *m_clock_textcolor; } | 48 | const FbTk::Color &clockTextColor() const { return *m_clock_textcolor; } |
49 | const FbTk::Color &buttonColor() const { return *m_button_color; } | 49 | const FbTk::Color &buttonColor() const { return *m_button_color; } |
50 | const FbTk::Color &borderColor() const { return *m_border_color; } | ||
50 | ///@} | 51 | ///@} |
51 | /** | 52 | /** |
52 | @name textures | 53 | @name textures |
@@ -72,16 +73,20 @@ public: | |||
72 | ///@} | 73 | ///@} |
73 | FbTk::Justify justify() const { return *m_justify; } | 74 | FbTk::Justify justify() const { return *m_justify; } |
74 | 75 | ||
76 | int borderWidth() const { return *m_border_width; } | ||
77 | int bevelWidth() const { return *m_bevel_width; } | ||
75 | void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); } | 78 | void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); } |
76 | void removeListener(FbTk::Observer &obs) { m_theme_change_sig.detach(&obs); } | 79 | void removeListener(FbTk::Observer &obs) { m_theme_change_sig.detach(&obs); } |
77 | private: | 80 | private: |
78 | // text colors | 81 | // text colors |
79 | FbTk::ThemeItem<FbTk::Color> m_label_textcolor, m_window_textcolor, m_clock_textcolor; | 82 | FbTk::ThemeItem<FbTk::Color> m_label_textcolor, m_window_textcolor, m_clock_textcolor; |
80 | FbTk::ThemeItem<FbTk::Color> m_button_color; | 83 | FbTk::ThemeItem<FbTk::Color> m_button_color, m_border_color; |
81 | // textures | 84 | // textures |
82 | FbTk::ThemeItem<FbTk::Texture> m_toolbar, m_label, m_window, m_button, m_pressed_button, m_clock; | 85 | FbTk::ThemeItem<FbTk::Texture> m_toolbar, m_label, m_window, m_button, m_pressed_button, m_clock; |
83 | FbTk::ThemeItem<FbTk::Font> m_font; | 86 | FbTk::ThemeItem<FbTk::Font> m_font; |
84 | FbTk::ThemeItem<FbTk::Justify> m_justify; | 87 | FbTk::ThemeItem<FbTk::Justify> m_justify; |
88 | |||
89 | FbTk::ThemeItem<int> m_border_width, m_bevel_width; | ||
85 | // graphic context | 90 | // graphic context |
86 | GC m_label_text_gc, m_window_text_gc, m_clock_text_gc, m_button_pic_gc; | 91 | GC m_label_text_gc, m_window_text_gc, m_clock_text_gc, m_button_pic_gc; |
87 | Display *m_display; | 92 | Display *m_display; |