diff options
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r-- | src/FbTk/TextButton.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index f259d89..79ed1ab 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc | |||
@@ -97,15 +97,6 @@ void TextButton::setFont(FbTk::Font &font) { | |||
97 | font.validOrientation(m_orientation); // load the orientation! | 97 | font.validOrientation(m_orientation); // load the orientation! |
98 | } | 98 | } |
99 | 99 | ||
100 | #ifdef NOT_USED | ||
101 | /// set bevel and redraw text | ||
102 | void TextButton::setBevel(int bevel) { | ||
103 | if (m_bevel == bevel) | ||
104 | return; | ||
105 | m_bevel = bevel; | ||
106 | } | ||
107 | #endif | ||
108 | |||
109 | void TextButton::setTextPaddingLeft(unsigned int leftpadding) { | 100 | void TextButton::setTextPaddingLeft(unsigned int leftpadding) { |
110 | m_left_padding = leftpadding; | 101 | m_left_padding = leftpadding; |
111 | } | 102 | } |
@@ -138,13 +129,6 @@ unsigned int TextButton::textWidth() const { | |||
138 | return font().textWidth(text().data(), text().size()); | 129 | return font().textWidth(text().data(), text().size()); |
139 | } | 130 | } |
140 | 131 | ||
141 | #ifdef NOT_USED | ||
142 | unsigned int TextButton::textHeight() const { | ||
143 | return font().height(); | ||
144 | |||
145 | } | ||
146 | #endif | ||
147 | |||
148 | void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) { | 132 | void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) { |
149 | // (win should always be *this, no need to check) | 133 | // (win should always be *this, no need to check) |
150 | drawText(0, 0, &drawable); | 134 | drawText(0, 0, &drawable); |