aboutsummaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-11 18:26:02 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-11 18:26:02 +0000
commitbbe7f194ee035c6cafdc5102092b7b422541aeab (patch)
treeae4d2f2e9b87822d41960e72b58d8c7de974d565 /layout.c
parente2854bdb20aa686e18df912e133b790ae39ad44d (diff)
downloadlcd4linux-bbe7f194ee035c6cafdc5102092b7b422541aeab.tar.gz
[lcd4linux @ 2004-01-11 18:26:02 by reinelt]
further widget and layout processing git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@306 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/layout.c b/layout.c
index 65b0373..13d05f9 100644
--- a/layout.c
+++ b/layout.c
@@ -1,4 +1,4 @@
-/* $Id: layout.c,v 1.2 2004/01/11 09:26:15 reinelt Exp $
+/* $Id: layout.c,v 1.3 2004/01/11 18:26:02 reinelt Exp $
*
* new layouter framework
*
@@ -23,6 +23,9 @@
*
*
* $Log: layout.c,v $
+ * Revision 1.3 2004/01/11 18:26:02 reinelt
+ * further widget and layout processing
+ *
* Revision 1.2 2004/01/11 09:26:15 reinelt
* layout starts to exist...
*
@@ -54,10 +57,11 @@
#include "layout.h"
-void layout_addItem (char *name, int row, int col)
+int layout_addItem (char *name, int row, int col)
{
-
- debug ("layout_addItem(%s, %d, %d)", name, row, col);
+ // allocate widget
+ widget_add (name);
+
}
@@ -69,8 +73,6 @@ int layout_init (char *layout)
char *widget;
int row, col;
- char buffer[32];
-
info ("initializing layout '%s'", layout);
// prepare config section