aboutsummaryrefslogtreecommitdiffstats
path: root/widget.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-01-30 05:47:38 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-01-30 05:47:38 +0000
commit2523e50fbb5a076f9535c18dcce9ed7a0716e28d (patch)
treee9b5c891e426a38a451e52fbd9ece443b5f59457 /widget.h
parent5eca256613eb7e4fb476d5efa71a835af5bb5d06 (diff)
downloadlcd4linux-2523e50fbb5a076f9535c18dcce9ed7a0716e28d.tar.gz
[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
Diffstat (limited to 'widget.h')
-rw-r--r--widget.h14
1 files changed, 12 insertions, 2 deletions
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