Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

xml_Gui.h

Go to the documentation of this file.
00001 /*
00002  *    gui - [gega user interface] the flexible solution for user interface problems
00003  *    Copyright (C) 2002  Gergely Gati
00004  *
00005  *    This program is free software; you can redistribute it and/or modify
00006  *    it under the terms of the GNU General Public License as published by
00007  *    the Free Software Foundation; version 2 of the License.
00008  *
00009  *    This program is distributed in the hope that it will be useful,
00010  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *    GNU General Public License for more details.
00013  *
00014  *    You should have received a copy of the GNU General Public License
00015  *    along with this program; if not, write to the Free Software
00016  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  *
00018  *    Gergely Gati
00019  *      email:           g.gati@freemail.hu
00020  *      AIM screenname:  GatiGergely
00021  *      ICQ number:      93131690
00022  *
00023  */
00024 #ifndef __XML_GUI_H
00025 #define __XML_GUI_H
00026 
00027 
00028 #include "Bases.h"
00029 #include "Gadget.h"
00030 
00031 #define TAG_GXML_XML_FILE    ((TAG_USER+100)|TAGT_STRING)
00032 #define TAG_GXML_LOCALE      (TAG_USER+101)
00033 #define TAG_GXML_TYPE        (TAG_USER+102)
00034 #define TAG_GXML_LAYOUTNAME  ((TAG_USER+103)|TAGT_STRING)
00035 #define TAG_GXML_APPNAME     ((TAG_USER+104)|TAGT_STRING)
00036 #define TAG_GXML_WINDOW      (TAG_USER+105)
00037 #define TAG_GXML_CHECK       (TAG_USER+106)
00038 
00039 //Enum for calling BEGIN
00040 enum gxml_functions
00041 {
00042   GXML_CREATEGADGETTREE=GXML_FUNCBASE,
00043   GXML_FUNC_DONE
00044 };
00045 //Enum for calling END
00046 
00047 
00048 u32 gxml_CallTL(int function, tag *taglist);
00049 u32 gxml_Call(int function, u32 firsttag, ...);
00050 
00051 
00052 int gxml_Init(void);
00053 void gxml_CleanUp(void);
00054 
00055 //Gadget_t *gxml_CreateGadgetTree(char *xml_file, Locale_t *locale, char *type, char *layoutname, char *appname, Window_t *window, gadget_Check *check);
00056 u32 gxml_CreateGadgetTree(u32 firsttag, ...);
00057 u32 gxml_CreateGadgetTreeTL(tag *taglist);
00058 
00059 
00060 #endif

Generated on Tue Jan 7 12:11:24 2003 for THEGUI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002