udlib.h

Go to the documentation of this file.
00001 /*
00002  * WinDom: a high level GEM library
00003  * Copyright (c) 1997-2006 windom authors (see AUTHORS file)
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00018  *
00019  * $Source: /cvsroot/windom/htdocs/doc/html/udlib_8h-source.html,v $
00020  *
00021  * CVS info:
00022  *   $Author: bercegeay $
00023  *   $Date: 2006/06/22 11:58:30 $
00024  *   $Revision: 1.5 $
00025  */
00026 
00027 #ifndef _UDLIB_H_
00028 #define _UDLIB_H_
00029 
00030 #ifndef _MT_GEMLIB_H_
00031 #include <mt_gem.h>  /* for OBJECT */
00032 #endif
00033 
00034 #ifndef __MT_WINDOM__
00035 #include <mt_wndm.h>    /* for ATTRIB */
00036 #endif
00037 
00038 __BEGIN_DECLS
00039 
00047 typedef struct {
00048     long    size_of_this;
00049     short   key_color;
00050     ATTRIB  string;
00051     ATTRIB  button;
00052     ATTRIB  exit;
00053     ATTRIB  title;
00054     ATTRIB  xedit_text;
00055     ATTRIB  xedit_label;
00056     short   xedit_curs_color;
00057     ATTRIB  xlongedit;
00058     short   xlgedt_smlfnt;
00059     ATTRIB  xtedinfo;
00060     short   xtdinf_smlfnt;
00061     short   actmono;
00062     short   actcol;
00063 } UDLIB_CONFIG;
00064 
00068 typedef struct {
00069     OBJECT *rs_object;
00070     short num_obs;
00071     short num_cib;
00072     void *rgb_palette;
00073     void *fix;
00074     short __CDECL (*draw_cicon)( long, OBJECT*, long, long, long, long);
00075 } UDLIB_FIXCICON;
00076 
00079 typedef struct {
00080     short * aes_global;
00081     short   vdih;
00082     short   nplanes;
00083     void * __CDECL (* app_malloc)(long size);
00084     void   __CDECL (* app_free)( void *addr);
00085     void *  udlib_data;
00086     UDLIB_FIXCICON fixcicon;
00087 } APPENV;
00088 
00091 __END_DECLS
00092 
00093 #endif /* _UDLIB_H_ */

Generated on Thu Jun 22 11:45:27 2006 for WinDom by  doxygen 1.4.6