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.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index a177f25..98cd4ce 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -42,22 +42,6 @@ TextButton::TextButton(const FbTk::FbWindow &parent,
42 setRenderer(*this); 42 setRenderer(*this);
43} 43}
44 44
45void TextButton::resize(unsigned int width, unsigned int height) {
46 if (this->width() == width && height == this->height())
47 return;
48
49 Button::resize(width, height);
50}
51
52void TextButton::moveResize(int x, int y,
53 unsigned int width, unsigned int height) {
54 if (this->width() == width && height == this->height() &&
55 x == this->x() && y == this->y())
56 return;
57
58 Button::moveResize(x, y, width, height);
59}
60
61void TextButton::setJustify(FbTk::Justify just) { 45void TextButton::setJustify(FbTk::Justify just) {
62 m_justify = just; 46 m_justify = just;
63} 47}