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_check.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_check.h')
| -rw-r--r-- | include/widget_check.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/widget_check.h b/include/widget_check.h new file mode 100644 index 0000000..2e3a3a3 --- /dev/null +++ b/include/widget_check.h @@ -0,0 +1,27 @@ + +#ifndef WIDGET_CHECK_H + +#define WIDGET_CHECK_H + +#include "main.h" + +#define WIDGET_CHECK_TIME_SWITCH_STATUS 5 + +#define WIDGET_CHECK_WIDTH 25 +#define WIDGET_CHECK_HEIGHT 25 + +typedef struct widget_check +{ + int x, y; + bool_t status; + int time; + void (*fce_event)(void *); +} widget_check_t; + +extern widget_check_t* newWidgetCheck(int x, int y, bool_t status, void (*fce_event)(void *)); +extern void drawWidgetCheck(widget_check_t *p); +extern void eventWidgetCheck(widget_check_t *p); +extern void destroyWidgetCheck(widget_check_t *p); + +#endif + |