aboutsummaryrefslogtreecommitdiffstats
path: root/layout.c
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 /layout.c
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 'layout.c')
-rw-r--r--layout.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/layout.c b/layout.c
index 91715d7..db48344 100644
--- a/layout.c
+++ b/layout.c
@@ -1,4 +1,4 @@
-/* $Id: layout.c,v 1.18 2006/01/23 06:17:18 reinelt Exp $
+/* $Id: layout.c,v 1.19 2006/01/30 05:47:38 reinelt Exp $
*
* new layouter framework
*
@@ -23,6 +23,9 @@
*
*
* $Log: layout.c,v $
+ * Revision 1.19 2006/01/30 05:47:38 reinelt
+ * graphic subsystem changed to full-color RGBA
+ *
* Revision 1.18 2006/01/23 06:17:18 reinelt
* timer widget added
*
@@ -161,7 +164,7 @@ int layout_init(const char *layout)
if (i == 2 && l[n] == '\0') {
widget = cfg_get(section, l, NULL);
if (widget != NULL && *widget != '\0') {
- widget_add(widget, WIDGET_TYPE_RC, row - 1, col - 1);
+ widget_add(widget, WIDGET_TYPE_RC, 0, row - 1, col - 1);
}
free(widget);
}
@@ -171,7 +174,7 @@ int layout_init(const char *layout)
if (i == 1 && l[n] == '\0') {
widget = cfg_get(section, l, NULL);
if (widget != NULL && *widget != '\0') {
- widget_add(widget, WIDGET_TYPE_GPO, num - 1, 0);
+ widget_add(widget, WIDGET_TYPE_GPO, 0, num - 1, 0);
}
free(widget);
}
@@ -181,7 +184,7 @@ int layout_init(const char *layout)
if (i == 1 && l[n] == '\0') {
widget = cfg_get(section, l, NULL);
if (widget != NULL && *widget != '\0') {
- widget_add(widget, WIDGET_TYPE_TIMER, num - 1, 0);
+ widget_add(widget, WIDGET_TYPE_TIMER, 0, num - 1, 0);
}
free(widget);
}