From bbe7f194ee035c6cafdc5102092b7b422541aeab Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 11 Jan 2004 18:26:02 +0000 Subject: [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 --- layout.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'layout.c') 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 -- cgit v1.2.3