aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/TextButton.cc16
-rw-r--r--src/FbTk/TextButton.hh4
2 files changed, 0 insertions, 20 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}
diff --git a/src/FbTk/TextButton.hh b/src/FbTk/TextButton.hh
index eb0beca..fe92cc3 100644
--- a/src/FbTk/TextButton.hh
+++ b/src/FbTk/TextButton.hh
@@ -43,10 +43,6 @@ public:
43 void setTextPaddingLeft(unsigned int leftpadding); 43 void setTextPaddingLeft(unsigned int leftpadding);
44 void setTextPaddingRight(unsigned int rightpadding); 44 void setTextPaddingRight(unsigned int rightpadding);
45 45
46 void resize(unsigned int width, unsigned int height);
47 void moveResize(int x, int y,
48 unsigned int width, unsigned int height);
49
50 /// clears window and redraw text 46 /// clears window and redraw text
51 void clear(); 47 void clear();
52 /// clears area and redraws text 48 /// clears area and redraws text