Diff for /np2/x11/fontmng.h between versions 1.1 and 1.5

version 1.1, 2003/10/16 17:59:41 version 1.5, 2011/01/15 19:16:58
Line 1 Line 1
   #ifndef NP2_X11_FONTMNG_H__
   #define NP2_X11_FONTMNG_H__
   
   G_BEGIN_DECLS
   
 enum {  enum {
         FDAT_BOLD                       = 0x01,          FDAT_BOLD               = 0x01,
         FDAT_PROPORTIONAL       = 0x02,          FDAT_PROPORTIONAL       = 0x02,
         FDAT_ALIAS                      = 0x04,          FDAT_ALIAS              = 0x04,
         FDAT_ANSI                       = 0x08          FDAT_ANSI               = 0x08
 };  };
   
 enum {  enum {
         FDAT_DEPTH                      = 255,          FDAT_DEPTH              = 255,
         FDAT_DEPTHBIT           = 8          FDAT_DEPTHBIT           = 8
 };  };
   
Line 17  typedef struct { Line 21  typedef struct {
         int     pitch;          int     pitch;
 } _FNTDAT, *FNTDAT;  } _FNTDAT, *FNTDAT;
   
   BOOL fontmng_init(void);
 #ifdef __cplusplus  void fontmng_terminate(void);
 extern "C" {  void fontmng_setdeffontname(const TCHAR *fontface);
 #endif  void* fontmng_create(int size, UINT type, const TCHAR *fontface);
   
 void *fontmng_create(int size, UINT type, const char *fontface);  
 void fontmng_destroy(void *hdl);  void fontmng_destroy(void *hdl);
   
 BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt);  BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt);
 BOOL fontmng_getdrawsize(void *hdl, const char *string, POINT_T *pt);  BOOL fontmng_getdrawsize(void *hdl, const char *string, POINT_T *pt);
 FNTDAT fontmng_get(void *hdl, const char *string);  FNTDAT fontmng_get(void *hdl, const char *string);
   
   G_END_DECLS
   
 // ---- for SDL  #endif  /* NP2_X11_FONTMNG_H__ */
   
 BOOL fontmng_init(void);  
 void fontmng_setdeffontname(const char *name);  
   
 #ifdef __cplusplus  
 }  
 #endif  
   

Removed from v.1.1  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>