diff options
author | reinelt <> | 2006-01-30 05:47:38 +0000 |
---|---|---|
committer | reinelt <> | 2006-01-30 05:47:38 +0000 |
commit | 9597a85a3a5c94664f0026a85a75daa9c58dcb0b (patch) | |
tree | e9b5c891e426a38a451e52fbd9ece443b5f59457 /widget.h | |
parent | 0a50da0d92193cfbd2a555f5bc57ebc87eaae451 (diff) | |
download | lcd4linux-9597a85a3a5c94664f0026a85a75daa9c58dcb0b.tar.gz |
[lcd4linux @ 2006-01-30 05:47:34 by reinelt]
graphic subsystem changed to full-color RGBA
Diffstat (limited to '')
-rw-r--r-- | widget.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: widget.h,v 1.16 2006/01/23 06:17:18 reinelt Exp $ +/* $Id: widget.h,v 1.17 2006/01/30 05:47:38 reinelt Exp $ * * generic widget handling * @@ -23,6 +23,9 @@ * * * $Log: widget.h,v $ + * Revision 1.17 2006/01/30 05:47:38 reinelt + * graphic subsystem changed to full-color RGBA + * * Revision 1.16 2006/01/23 06:17:18 reinelt * timer widget added * @@ -93,6 +96,8 @@ #ifndef _WIDGET_H_ #define _WIDGET_H_ +#include "rgb.h" + struct WIDGET; /* forward declaration */ @@ -110,6 +115,11 @@ typedef struct WIDGET { char *name; WIDGET_CLASS *class; struct WIDGET *parent; + RGBA fg_color; + RGBA bg_color; + int fg_valid; + int bg_valid; + int layer; int row; int col; void *data; @@ -124,6 +134,6 @@ typedef struct WIDGET { int widget_register(WIDGET_CLASS * widget); void widget_unregister(void); -int widget_add(const char *name, const int type, const int row, const int col); +int widget_add(const char *name, const int type, const int layer, const int row, const int col); #endif |