From 40bde26bc2c197093e512f8d5d83e5aeb66cbbbf Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 3 Oct 2007 05:12:11 +0000 Subject: automatic marquee patch from Manuel Grot git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@845 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- widget_text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget_text.h') diff --git a/widget_text.h b/widget_text.h index 17dd9d4..b3bd0a6 100644 --- a/widget_text.h +++ b/widget_text.h @@ -30,7 +30,7 @@ #include "property.h" -typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE } TEXT_ALIGN; +typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC } TEXT_ALIGN; typedef struct WIDGET_TEXT { PROPERTY prefix; /* label on the left side */ @@ -41,7 +41,7 @@ typedef struct WIDGET_TEXT { char *buffer; /* string with 'width+1' bytes allocated */ int width; /* field width */ int precision; /* number of digits after the decimal point */ - TEXT_ALIGN align; /* alignment: L(eft), C(enter), R(ight), M(arquee) */ + TEXT_ALIGN align; /* alignment: L(eft), C(enter), R(ight), M(arquee), A(utomatic) */ int update; /* update interval */ int scroll; /* marquee starting point */ int speed; /* marquee scrolling speed */ -- cgit v1.2.3