aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-03-06 20:31:16 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-03-06 20:31:16 +0000
commitc008748638679f10746c70a7f677c0e8906ffa9e (patch)
treee8d53c15a9184b19109453e56cf4fc8f8cfac6b0 /widget_icon.h
parent2f4f59ba2e28ee38f721f09ab6756fd4575b3f78 (diff)
downloadlcd4linux-c008748638679f10746c70a7f677c0e8906ffa9e.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... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@387 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.h')
-rw-r--r--widget_icon.h14
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;