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.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index e217e7c..b03b6fc 100644
--- a/src/FbTk/MenuTheme.hh
+++ b/src/FbTk/MenuTheme.hh
@@ -104,7 +104,9 @@ public:
104 BulletType bullet() const { return *m_bullet; } 104 BulletType bullet() const { return *m_bullet; }
105 Justify bulletPos() const { return *bullet_pos; } 105 Justify bulletPos() const { return *bullet_pos; }
106 106
107 unsigned int titleHeight() const { return m_real_title_height; } 107 unsigned int titleHeight(bool fontConstrained = false) const {
108 return fontConstrained ? m_real_title_height : *m_title_height;
109 }
108 unsigned int itemHeight() const { return m_real_item_height; } 110 unsigned int itemHeight() const { return m_real_item_height; }
109 unsigned int borderWidth() const { return *m_border_width; } 111 unsigned int borderWidth() const { return *m_border_width; }
110 unsigned int bevelWidth() const { return *m_bevel_width; } 112 unsigned int bevelWidth() const { return *m_bevel_width; }