diff options
Diffstat (limited to 'app/fvwm/extras/FvwmConfig/WinText.h')
-rw-r--r-- | app/fvwm/extras/FvwmConfig/WinText.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/fvwm/extras/FvwmConfig/WinText.h b/app/fvwm/extras/FvwmConfig/WinText.h new file mode 100644 index 000000000..b5b0e2498 --- /dev/null +++ b/app/fvwm/extras/FvwmConfig/WinText.h @@ -0,0 +1,24 @@ +#ifndef wintext_h +#define wintext_h + +#include <X11/Xlib.h> +#include "WinBase.h" + +class WinText: public WinBase +{ + public: + char *label; + Window twin; + + WinText(WinBase *Parent, int w, int h, int x, int y, char *label); + ~WinText(); + + void SetLabel(char *new_label); + void SetBackColor(char *newcolor); + void DrawCallback(XEvent *event = NULL); + virtual void ResizeCallback(int new_w, int new_h, XEvent *event = NULL); + void SetBevelWidth(int bw); + void RedrawWindow(int clear); +}; + +#endif |