home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 May / cica_0595_4.zip / cica_0595_4 / UTIL / MSWSRC35 / LOGOX.H < prev    next >
C/C++ Source or Header  |  1992-11-05  |  1KB  |  30 lines

  1. #define NUMBER double
  2.  
  3. struct display
  4.    {
  5.    NUMBER turtx,turty,turth;    /* current values */
  6.    NUMBER xlow,xhigh,ylow,yhigh;/* limits for this dpy */
  7.    NUMBER stdscrunch;        /* standard aspect ratio */
  8.    long cleared;            /* nonzero after first use */
  9.    char *init,*finish;        /* printed to enable, disable gfx */
  10.    char *totext;        /* printed for temporary textscreen */
  11.    char *clear;            /* printed for cs, and after init */
  12.    void (*drawturt)(long);    /* one arg, 0 to show, 1 to erase */
  13.    void (*drawfrom)(NUMBER,NUMBER); /* 2 args, x and y, draw vector */
  14.    void (*drawto)(NUMBER,NUMBER);   /* 2 args, x and y, draw vector */
  15.    void (*txtchk)();        /* make error if can't gfx in txtmode */
  16.    void (*infn)(void);
  17.    void (*outfn)();        /* no args, called to enable, disable */
  18.    void (*turnturt)();        /* no args, tell Atari turtle heading */
  19.    void (*penc)(long);
  20.    void (*setc)();              /* color map routines */
  21.    void (*state)(char);        /* one arg, state change flag */
  22.    void (*done)(void);        /* call when done with graphics */
  23.    void (*undone)(void);    /* call to turn graphics back on */
  24.    };
  25.  
  26. #define IBUFSIZ 1000
  27. #define FILDES int
  28.  
  29. #include "func.h"
  30.