home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / clients / xfd / fontgrid.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-18  |  1.1 KB  |  57 lines

  1. #ifndef _FontGrid_h_
  2. #define _FontGrid_h_
  3.  
  4. typedef struct _FontGridRec *FontGridWidget;
  5. extern WidgetClass fontgridWidgetClass;
  6.  
  7. #define XtNcellRows "cellRows"
  8. #define XtCCellRows "CellRows"
  9. #define XtNcellColumns "cellColumns"
  10. #define XtCCellColumns "CellColumns"
  11. #define XtNcellWidth "cellWidth"
  12. #define XtCCellWidth "CellWidth"
  13. #define XtNcellHeight "cellHeight"
  14. #define XtCCellHeight "CellHeight"
  15.  
  16. #define XtNcenterChars "centerChars"
  17. #define XtCCenterChars "CenterChars"
  18.  
  19. #define XtNboxChars "boxChars"
  20. #define XtCBoxChars "BoxChars"
  21.  
  22. #define XtNboxColor "boxColor"
  23. #define XtCBoxColor "BoxColor"
  24.  
  25. #define XtNstartChar "startChar"
  26. #define XtCStartChar "StartChar"
  27.  
  28. #define XtNinternalPad "internalPad"
  29. #define XtCInternalPad "InternalPad"
  30.  
  31. #define XtNgridWidth "gridWidth"
  32. #define XtCGridWidth "GridWidth"
  33.  
  34. typedef struct _FontGridCharRec {
  35.     XFontStruct *    thefont;
  36.     XChar2b        thechar;
  37. } FontGridCharRec;
  38.  
  39. extern void GetFontGridCellDimensions(
  40. #if NeedFunctionPrototypes
  41.    Widget,
  42.    Dimension *,
  43.    int *,
  44.    int *
  45. #endif
  46. );
  47.  
  48. extern void GetPrevNextStates(
  49. #if NeedFunctionPrototypes
  50.     Widget,
  51.     Bool *,
  52.     Bool *
  53. #endif
  54. );
  55.  
  56. #endif /* _FontGrid_h_ */
  57.