diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
commit | 38654bae459716409ad2ee7975671fc2f131c869 (patch) | |
tree | 6f2f3c662f8317f47a422db02d17bff378266817 /src/FbTk/TextButton.cc | |
parent | 06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff) | |
download | fluxbox_pavel-38654bae459716409ad2ee7975671fc2f131c869.zip fluxbox_pavel-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2 |
some cleanup
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); |