aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-10 21:51:57 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-10 21:51:57 (GMT)
commit09da97e6f369471b94d58fea63e112cce22a7060 (patch)
treecf25bdb543171419b557f9b541ed889c641dd303 /src
parent7b8fd2d81ad80a73564fc9fbb779f47568f12652 (diff)
downloadfluxbox-09da97e6f369471b94d58fea63e112cce22a7060.zip
fluxbox-09da97e6f369471b94d58fea63e112cce22a7060.tar.bz2
Remove dead code
Diffstat (limited to 'src')
-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