aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-07 21:02:49 (GMT)
committerfluxgen <fluxgen>2004-06-07 21:02:49 (GMT)
commit2bb46b002064f8cd354ff7b06bb602709395a874 (patch)
tree7479341db419677048a2b25f5bbad8c363ee49f1 /src/FbTk/MenuTheme.hh
parent8eb2ea889d00a6facba0259883d9d29b0deac2ff (diff)
downloadfluxbox_pavel-2bb46b002064f8cd354ff7b06bb602709395a874.zip
fluxbox_pavel-2bb46b002064f8cd354ff7b06bb602709395a874.tar.bz2
item and title height specified by style
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r--src/FbTk/MenuTheme.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index dfac7b1..4102552 100644
--- a/src/FbTk/MenuTheme.hh
+++ b/src/FbTk/MenuTheme.hh
@@ -1,5 +1,5 @@
1// MenuTheme.hh for FbTk 1// MenuTheme.hh for FbTk
2// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) 2// Copyright (c) 2002-2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"), 5// copy of this software and associated documentation files (the "Software"),
@@ -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.13 2003/12/17 00:43:22 fluxgen Exp $ 22// $Id: MenuTheme.hh,v 1.14 2004/06/07 21:02:49 fluxgen Exp $
23 23
24#ifndef FBTK_MENUTHEME_HH 24#ifndef FBTK_MENUTHEME_HH
25#define FBTK_MENUTHEME_HH 25#define FBTK_MENUTHEME_HH
@@ -102,6 +102,8 @@ public:
102 BulletType bullet() const { return *m_bullet; } 102 BulletType bullet() const { return *m_bullet; }
103 FbTk::Justify bulletPos() const { return *bullet_pos; } 103 FbTk::Justify bulletPos() const { return *bullet_pos; }
104 104
105 unsigned int titleHeight() const { return *m_title_height; }
106 unsigned int itemHeight() const { return *m_item_height; }
105 unsigned int borderWidth() const { return *m_border_width; } 107 unsigned int borderWidth() const { return *m_border_width; }
106 unsigned int bevelWidth() const { return *m_bevel_width; } 108 unsigned int bevelWidth() const { return *m_bevel_width; }
107 109
@@ -126,6 +128,7 @@ private:
126 FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify; 128 FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify;
127 FbTk::ThemeItem<FbTk::Justify> bullet_pos; 129 FbTk::ThemeItem<FbTk::Justify> bullet_pos;
128 FbTk::ThemeItem<BulletType> m_bullet; 130 FbTk::ThemeItem<BulletType> m_bullet;
131 FbTk::ThemeItem<unsigned int> m_title_height, m_item_height;
129 FbTk::ThemeItem<unsigned int> m_border_width; 132 FbTk::ThemeItem<unsigned int> m_border_width;
130 FbTk::ThemeItem<unsigned int> m_bevel_width; 133 FbTk::ThemeItem<unsigned int> m_bevel_width;
131 FbTk::ThemeItem<FbTk::Color> m_border_color; 134 FbTk::ThemeItem<FbTk::Color> m_border_color;