00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 #ifndef _UDLIB_H_
00028 #define _UDLIB_H_
00029 
00030 #ifndef _MT_GEMLIB_H_
00031 #include <mt_gem.h>  
00032 #endif
00033 
00034 #ifndef __MT_WINDOM__
00035 #include <mt_wndm.h>    
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