Remove dead code
This commit is contained in:
parent
7b8fd2d81a
commit
09da97e6f3
2 changed files with 0 additions and 20 deletions
|
@ -42,22 +42,6 @@ TextButton::TextButton(const FbTk::FbWindow &parent,
|
||||||
setRenderer(*this);
|
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) {
|
void TextButton::setJustify(FbTk::Justify just) {
|
||||||
m_justify = just;
|
m_justify = just;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,10 +43,6 @@ public:
|
||||||
void setTextPaddingLeft(unsigned int leftpadding);
|
void setTextPaddingLeft(unsigned int leftpadding);
|
||||||
void setTextPaddingRight(unsigned int rightpadding);
|
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
|
/// clears window and redraw text
|
||||||
void clear();
|
void clear();
|
||||||
/// clears area and redraws text
|
/// clears area and redraws text
|
||||||
|
|
Loading…
Reference in a new issue