aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r--src/FbTk/MenuTheme.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index 174e0b5..010e694 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.15 2004/06/13 00:33:06 fluxgen Exp $ 22// $Id: MenuTheme.hh,v 1.16 2004/06/13 10:59:24 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,8 +102,8 @@ public:
102 inline BulletType bullet() const { return *m_bullet; } 102 inline BulletType bullet() const { return *m_bullet; }
103 inline FbTk::Justify bulletPos() const { return *bullet_pos; } 103 inline FbTk::Justify bulletPos() const { return *bullet_pos; }
104 104
105 inline unsigned int titleHeight() const { return *m_title_height; } 105 inline unsigned int titleHeight() const { return m_real_title_height; }
106 inline unsigned int itemHeight() const { return *m_item_height; } 106 inline unsigned int itemHeight() const { return m_real_item_height; }
107 inline unsigned int borderWidth() const { return *m_border_width; } 107 inline unsigned int borderWidth() const { return *m_border_width; }
108 inline unsigned int bevelWidth() const { return *m_bevel_width; } 108 inline unsigned int bevelWidth() const { return *m_bevel_width; }
109 109
@@ -141,7 +141,8 @@ private:
141 MenuMode m_menumode; 141 MenuMode m_menumode;
142 unsigned int m_delayopen; ///< in msec 142 unsigned int m_delayopen; ///< in msec
143 unsigned int m_delayclose; ///< in msec 143 unsigned int m_delayclose; ///< in msec
144 144 int m_real_title_height; ///< the calculated item height (from font and menu.titleHeight)
145 int m_real_item_height; ///< the calculated item height (from font and menu.itemHeight)
145}; 146};
146 147
147} // end namespace FbTk 148} // end namespace FbTk