From 2523e50fbb5a076f9535c18dcce9ed7a0716e28d Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 30 Jan 2006 05:47:38 +0000 Subject: [lcd4linux @ 2006-01-30 05:47:34 by reinelt] graphic subsystem changed to full-color RGBA git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@626 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- widget.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'widget.h') diff --git a/widget.h b/widget.h index e418184..4300164 100644 --- a/widget.h +++ b/widget.h @@ -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 -- cgit v1.2.3