diff options
author | reinelt <> | 2004-03-06 20:31:16 +0000 |
---|---|---|
committer | reinelt <> | 2004-03-06 20:31:16 +0000 |
commit | 2f5e70edeffe4eb649d3a0577e3913cc5fcda6d7 (patch) | |
tree | e8d53c15a9184b19109453e56cf4fc8f8cfac6b0 /widget_icon.h | |
parent | f2539b94c0c65abd21168a509a27228696b7f4ee (diff) | |
download | lcd4linux-2f5e70edeffe4eb649d3a0577e3913cc5fcda6d7.tar.gz |
[lcd4linux @ 2004-03-06 20:31:16 by reinelt]
Complete rewrite of the evaluator to get rid of the code
from mark Morley (because of license issues).
The new Evaluator does a pre-compile of expressions, and
stores them in trees. Therefore it should be reasonable faster...
Diffstat (limited to '')
-rw-r--r-- | widget_icon.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/widget_icon.h b/widget_icon.h index ede84ea..f2f3029 100644 --- a/widget_icon.h +++ b/widget_icon.h @@ -1,4 +1,4 @@ -/* $Id: widget_icon.h,v 1.4 2004/02/15 21:43:43 reinelt Exp $ +/* $Id: widget_icon.h,v 1.5 2004/03/06 20:31:16 reinelt Exp $ * * icon widget handling * @@ -23,6 +23,12 @@ * * * $Log: widget_icon.h,v $ + * Revision 1.5 2004/03/06 20:31:16 reinelt + * Complete rewrite of the evaluator to get rid of the code + * from mark Morley (because of license issues). + * The new Evaluator does a pre-compile of expressions, and + * stores them in trees. Therefore it should be reasonable faster... + * * Revision 1.4 2004/02/15 21:43:43 reinelt * T6963 driver nearly finished * framework for graphic displays done @@ -46,14 +52,16 @@ 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? int ascii; // ascii code of icon (depends on the driver) int curmap; // current bitmap sequence int prvmap; // previous bitmap sequence int maxmap; // number of bitmap sequences unsigned char *bitmap; // bitmaps of (animated) icon - int visible; // icon visible? - char *visible_expr; // expression for visibility } WIDGET_ICON; extern WIDGET_CLASS Widget_Icon; |