diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-02-01 22:59:06 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-02-01 22:59:06 +0000 |
| commit | 6d4e1eae16b84918009625a866104ec26a234277 (patch) | |
| tree | a340a8a547a60c9f63c8dfafe8909242f9c9bbd8 /include/widget_label.h | |
nahranie tarballu tuxanci-ng na SVN server
Dusan Durech ( Oroborus )
git-svn-id: http://opensvn.csie.org/tuxanci_ng@1 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/widget_label.h')
| -rw-r--r-- | include/widget_label.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/widget_label.h b/include/widget_label.h new file mode 100644 index 0000000..7df88c2 --- /dev/null +++ b/include/widget_label.h @@ -0,0 +1,24 @@ + +#ifndef WIDGET_LABEL_H + +#define WIDGET_LABEL_H + +typedef struct widget_label +{ + int x, y; + int w, h; + char *text; + int bind; +} widget_label_t; + +#define WIDGET_LABEL_RIGHT 1 +#define WIDGET_LABEL_LEFT 2 +#define WIDGET_LABEL_CENTER 3 + +extern widget_label_t* newWidgetLabel(char *text, int x, int y, int bind); +extern void drawWidgetLabel(widget_label_t *p); +extern void eventWidgetLabel(widget_label_t *p); +extern void destroyWidgetLabel(widget_label_t *p); + +#endif + |