diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-01-18 05:20:07 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-01-18 05:20:07 +0000 |
commit | 7bbb5b1385d0a6212eaaa1a2213bcfa66bf17239 (patch) | |
tree | 0b74fcee3a6fb02049d6c7d501d9484b0dcc1492 /widget_icon.h | |
parent | 12b56cb623711a3a8e1772b25c54be7a01ec915d (diff) | |
download | lcd4linux-7bbb5b1385d0a6212eaaa1a2213bcfa66bf17239.tar.gz |
dynamic properties for Icon widget
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@744 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.h')
-rw-r--r-- | widget_icon.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/widget_icon.h b/widget_icon.h index 66e7c53..77154f5 100644 --- a/widget_icon.h +++ b/widget_icon.h @@ -28,13 +28,13 @@ #ifndef _WIDGET_ICON_H_ #define _WIDGET_ICON_H_ + +#include "property.h" + + typedef struct WIDGET_ICON { - char *speed_expr; /* expression for update interval */ - void *speed_tree; /* pre-compiled expression for update interval */ - int speed; /* update interval (msec) */ - char *visible_expr; /* expression for visibility */ - void *visible_tree; /* pre-compiled expression for visibility */ - int visible; /* icon visible? */ + PROPERTY speed; /* update interval (msec) */ + PROPERTY visible; /* icon visible? */ int ascii; /* ascii code of icon (depends on the driver) */ int curmap; /* current bitmap sequence */ int prvmap; /* previous bitmap sequence */ @@ -42,6 +42,7 @@ typedef struct WIDGET_ICON { unsigned char *bitmap; /* bitmaps of (animated) icon */ } WIDGET_ICON; + extern WIDGET_CLASS Widget_Icon; #endif |