diff options
author | fluxgen <fluxgen> | 2003-01-09 16:51:52 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-01-09 16:51:52 (GMT) |
commit | ccd693067e85b6049a9d61dc33338ecd6e8c22ee (patch) | |
tree | 382149c0ba6e29a1e71bfdf1cdd04277cc41551a /src/FbTk/MenuTheme.hh | |
parent | 41bee7797df219de59c4999bf8464fc3cd57c407 (diff) | |
download | fluxbox_pavel-ccd693067e85b6049a9d61dc33338ecd6e8c22ee.zip fluxbox_pavel-ccd693067e85b6049a9d61dc33338ecd6e8c22ee.tar.bz2 |
added menu border color and border width and bevel width
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r-- | src/FbTk/MenuTheme.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh index c0ac490..c029a26 100644 --- a/src/FbTk/MenuTheme.hh +++ b/src/FbTk/MenuTheme.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: MenuTheme.hh,v 1.1 2002/12/25 11:41:53 fluxgen Exp $ | 22 | // $Id: MenuTheme.hh,v 1.2 2003/01/09 16:47:06 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_MENUTHEME_HH | 24 | #ifndef FBTK_MENUTHEME_HH |
25 | #define FBTK_MENUTHEME_HH | 25 | #define FBTK_MENUTHEME_HH |
@@ -79,6 +79,9 @@ public: | |||
79 | BulletType bullet() const { return *m_bullet; } | 79 | BulletType bullet() const { return *m_bullet; } |
80 | FbTk::Justify bulletPos() const { return *bullet_pos; } | 80 | FbTk::Justify bulletPos() const { return *bullet_pos; } |
81 | 81 | ||
82 | unsigned int borderWidth() const { return *m_border_width; } | ||
83 | unsigned int bevelWidth() const { return *m_bevel_width; } | ||
84 | const FbTk::Color &borderColor() const { return *m_border_color; } | ||
82 | private: | 85 | private: |
83 | FbTk::ThemeItem<FbTk::Color> t_text, f_text, h_text, d_text; | 86 | FbTk::ThemeItem<FbTk::Color> t_text, f_text, h_text, d_text; |
84 | FbTk::ThemeItem<FbTk::Texture> title, frame, hilite; | 87 | FbTk::ThemeItem<FbTk::Texture> title, frame, hilite; |
@@ -86,6 +89,10 @@ private: | |||
86 | FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify; | 89 | FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify; |
87 | FbTk::ThemeItem<FbTk::Justify> bullet_pos; | 90 | FbTk::ThemeItem<FbTk::Justify> bullet_pos; |
88 | FbTk::ThemeItem<BulletType> m_bullet; | 91 | FbTk::ThemeItem<BulletType> m_bullet; |
92 | FbTk::ThemeItem<unsigned int> m_border_width; | ||
93 | FbTk::ThemeItem<unsigned int> m_bevel_width; | ||
94 | FbTk::ThemeItem<FbTk::Color> m_border_color; | ||
95 | |||
89 | 96 | ||
90 | Display *m_display; | 97 | Display *m_display; |
91 | GC t_text_gc, f_text_gc, h_text_gc, d_text_gc, hilite_gc; | 98 | GC t_text_gc, f_text_gc, h_text_gc, d_text_gc, hilite_gc; |