diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-10 21:51:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-10 21:51:57 (GMT) |
commit | 09da97e6f369471b94d58fea63e112cce22a7060 (patch) | |
tree | cf25bdb543171419b557f9b541ed889c641dd303 /src/FbTk | |
parent | 7b8fd2d81ad80a73564fc9fbb779f47568f12652 (diff) | |
download | fluxbox-09da97e6f369471b94d58fea63e112cce22a7060.zip fluxbox-09da97e6f369471b94d58fea63e112cce22a7060.tar.bz2 |
Remove dead code
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/TextButton.cc | 16 | ||||
-rw-r--r-- | src/FbTk/TextButton.hh | 4 |
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 | ||
45 | void 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 | |||
52 | void 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 | |||
61 | void TextButton::setJustify(FbTk::Justify just) { | 45 | void 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 |