home *** CD-ROM | disk | FTP | other *** search
/ Kyūkyoku!! X68000 Emulator / X68000Book.dat / mac / OLS / X68000 / Ko-Window / kow142s.lzh / wsrv / sheet.h < prev    next >
C/C++ Source or Header  |  1992-12-09  |  2KB  |  59 lines

  1. /*
  2.  *        âVü[âgè╓Éö
  3.  *
  4.  *            1990.1.1
  5.  *            CopyRight    T.Kobayashi
  6.  */
  7. #ifndef    AttrDefault
  8.     #define    AttrDefault        9
  9.     #define    AttrHighLight    4
  10.     #define    AttrReverse        8
  11.     #define    OptionXor        0x10
  12.     typedef    enum {
  13.             OptionLine,
  14.             OptionBox,
  15.             OptionFill,
  16.             OptionShadow
  17.         }
  18.             SheetOption ;
  19.     #define    ShadowUp    0
  20.     #define    ShadowDown    1
  21.     typedef struct {
  22.             int                h, v, hword ;    /*    æσé½é│                        */
  23.             unsigned short    *buf1 ;            /*    âoâbâtâ@é╓é╠â|âCâôâ^        */
  24.             unsigned short    *buf2 ;            /*    âoâbâtâ@é╓é╠â|âCâôâ^        */
  25.         }
  26.             Sheet ;
  27. #endif
  28.  
  29. #ifndef    NULL
  30.     #define    NULL    (void*)0
  31. #endif
  32.  
  33. #ifndef TRUE
  34.     #define FALSE    0
  35.     #define TRUE    1
  36. #endif
  37.  
  38. /*
  39.     proto -e sheet.c > temp
  40. */
  41. extern    Sheet    *SheetOpen( int, int );
  42. extern    void    SheetClose( Sheet* );
  43. extern    void    SheetClear( Sheet*, ClipClass*, int );
  44. extern    void    SheetLine( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
  45. extern    void    SheetPutPattern( Sheet*, ClipClass*, Sheet* );
  46. extern    void    SheetCopy( Sheet*, ClipClass*, int, int, Sheet* );
  47. extern    void    SheetMove( Sheet*, ClipClass*, int, int, ClipClass* );
  48. extern    void    SheetScroll( Sheet*, ClipClass*, int, int );
  49. extern    void    SheetSymbol( Sheet*, ClipClass*, int, int, char*, int, int );
  50.  
  51. /*    by M.Tatsumi ( âUâïéQ ) , COR.*/
  52. extern    void    SheetDot( Sheet*, ClipClass*, int, int, int );
  53. extern    void    SheetCircle( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
  54. #if 0
  55. extern    void    SheetEllipse( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
  56. extern    void    SheetTriangle( Sheet*, ClipClass*, int*, int, SheetOption );
  57. extern    void    SheetPoly( Sheet*, ClipClass*, int, int*, int, SheetOption );
  58. #endif
  59.