|
Public Member Functions |
|
| TextButton (const FbTk::FbWindow &parent, const FbTk::Font &font, const std::string &text) |
|
void | setJustify (FbTk::Justify just) |
|
void | setText (const std::string &text) |
|
void | setFont (const FbTk::Font &font) |
|
void | setBevel (int bevel) |
| | set bevel and redraw text
|
|
void | resize (unsigned int width, unsigned int height) |
|
void | moveResize (int x, int y, unsigned int width, unsigned int height) |
|
void | clear () |
| | clear window and redraw text
|
|
void | clearArea (int x, int y, unsigned int width, unsigned int height, bool exposure=false) |
| | clears area and redraws text
|
|
void | exposeEvent (XExposeEvent &event) |
|
FbTk::Justify | justify () const |
|
const std::string & | text () const |
|
const FbTk::Font & | font () const |
|
unsigned int | textWidth () const |
|
int | bevel () const |
Protected Member Functions |
|
virtual void | drawText (int x_offset=0, int y_offset=0) |