aboutsummaryrefslogtreecommitdiffstats
path: root/widget_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget_text.h')
-rw-r--r--widget_text.h4
1 files changed, 2 insertions, 2 deletions
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 */