Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

charlayout.h

00001 /*
00002  *  charlayout.h - Create a layout for a character-based renderer.
00003  *                 This file is part of the FreeLCD package.
00004  *
00005  *  $Id: charlayout_8h-source.html,v 1.1 2003/02/16 22:50:41 unicorn Exp $
00006  *
00007  *  This program is free software; you can redistribute it and/or modify it
00008  *  under the terms of the GNU General Public License as published by the
00009  *  Free Software Foundation; either version 2 of the License, or (at your
00010  *  option) any later version.
00011  * 
00012  *  This program is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License
00018  *  along with this program; if not, write to the Free Software
00019  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00020  *  MA  02111-1307  USA
00021  *
00022  *  Copyright (c) 2002, 2003, Jeroen van den Berg <unicorn@hippie.nu>
00023  */
00024 
00025 
00026 #ifndef _CHARLAYOUT_H
00027 #define _CHARLAYOUT_H
00028 
00029 #include <common/xmlt.h>
00030 
00031 typedef struct
00032 {
00033   int x;
00034   int y;
00035   int width;
00036   int height;
00037   char *utf8_data;
00038 }
00039 cl_layout_elem;
00040 
00041 typedef struct
00042 {
00043   int layout_data_size;
00044   cl_layout_elem *layout_data;
00045 }
00046 cl_layout;
00047 
00048 
00049 cl_layout *
00050 cl_make_layout (xml_node *layout);
00051 
00052 
00053 #endif /* Multiple include guard */

Generated on Sun Feb 16 23:39:49 2003 for FreeLCD by doxygen1.2.18