From c008748638679f10746c70a7f677c0e8906ffa9e Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 6 Mar 2004 20:31:16 +0000 Subject: [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 --- widget_icon.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'widget_icon.h') 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; -- cgit v1.2.3