aboutsummaryrefslogtreecommitdiffstats
path: root/widget_text.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-15 07:47:03 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-15 07:47:03 +0000
commit8bd25913d494772e695311c5745bbcc8a5a57e77 (patch)
treef68e6fa36a66eb421d67154ef105b28971e483c3 /widget_text.h
parent89e4f42deb9e5c5bdc712613d85629d4398e19b7 (diff)
downloadlcd4linux-8bd25913d494772e695311c5745bbcc8a5a57e77.tar.gz
[lcd4linux @ 2004-01-15 07:47:02 by reinelt]
debian/ postinst and watch added (did CVS forget about them?) evaluator: conditional expressions (a?b:c) added text widget nearly finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@313 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_text.h')
-rw-r--r--widget_text.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/widget_text.h b/widget_text.h
index 7d678e8..d3e20c5 100644
--- a/widget_text.h
+++ b/widget_text.h
@@ -1,4 +1,4 @@
-/* $Id: widget_text.h,v 1.1 2004/01/15 04:29:45 reinelt Exp $
+/* $Id: widget_text.h,v 1.2 2004/01/15 07:47:03 reinelt Exp $
*
* simple text widget handling
*
@@ -23,6 +23,11 @@
*
*
* $Log: widget_text.h,v $
+ * Revision 1.2 2004/01/15 07:47:03 reinelt
+ * debian/ postinst and watch added (did CVS forget about them?)
+ * evaluator: conditional expressions (a?b:c) added
+ * text widget nearly finished
+ *
* Revision 1.1 2004/01/15 04:29:45 reinelt
* moved lcd4linux.conf.sample to *.old
* lcd4linux.conf.sample with new layout
@@ -38,8 +43,10 @@
typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE } ALIGN;
typedef struct WIDGET_TEXT {
- char *prefix; // label on the left side
- char *postfix; // label on the right side
+ char *prefix; // expression for label on the left side
+ char *preval; // value for label on the left side
+ char *postfix; // expression for label on the right side
+ char *postval; // value for label on the right side
char *expression; // expression that delivers the value
char *value; // evaluated value from expression
char *buffer; // string with 'width+1' bytes allocated