aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r--src/FbTk/TextButton.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index 948f847..9aee7f2 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -139,10 +139,12 @@ unsigned int TextButton::textWidth() const {
139 return font().textWidth(text().data(), text().size()); 139 return font().textWidth(text().data(), text().size());
140} 140}
141 141
142#ifdef NOT_USED
142unsigned int TextButton::textHeight() const { 143unsigned int TextButton::textHeight() const {
143 return font().height(); 144 return font().height();
144 145
145} 146}
147#endif
146 148
147void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) { 149void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) {
148 // (win should always be *this, no need to check) 150 // (win should always be *this, no need to check)