From 09da97e6f369471b94d58fea63e112cce22a7060 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 10 Jan 2015 22:51:57 +0100 Subject: Remove dead code --- src/FbTk/TextButton.cc | 16 ---------------- src/FbTk/TextButton.hh | 4 ---- 2 files changed, 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, setRenderer(*this); } -void TextButton::resize(unsigned int width, unsigned int height) { - if (this->width() == width && height == this->height()) - return; - - Button::resize(width, height); -} - -void TextButton::moveResize(int x, int y, - unsigned int width, unsigned int height) { - if (this->width() == width && height == this->height() && - x == this->x() && y == this->y()) - return; - - Button::moveResize(x, y, width, height); -} - void TextButton::setJustify(FbTk::Justify just) { m_justify = just; } 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: void setTextPaddingLeft(unsigned int leftpadding); void setTextPaddingRight(unsigned int rightpadding); - void resize(unsigned int width, unsigned int height); - void moveResize(int x, int y, - unsigned int width, unsigned int height); - /// clears window and redraw text void clear(); /// clears area and redraws text -- cgit v0.11.2