home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / DigitalCD / !DigitalCD / Copy / PowerBars / h / Task < prev    next >
Text File  |  1999-02-11  |  619b  |  23 lines

  1. #ifndef __Task__H
  2. #define __Task__H
  3.  
  4. #include "Coords.h"
  5.  
  6. typedef struct
  7. {
  8.     int    shiftx; /* Number of bits to shift right OS x to get screen pixel */
  9.     int    shifty; /* Number of bits to shift right OS y to get screen pixel */
  10.     int    dx; /* OS x units per screen pixel */
  11.     int    dy; /* OS y units per screen pixel */
  12.     int    bpp; /* bits per screen pixel */
  13.     int    resx; /* OS x units per inch */
  14.     int    resy; /* OS y units per inch */
  15.     int    millix; /* OS x to millipoints */
  16.     int    milliy; /* OS y to millipoints */
  17.     CRect    box; /* Screen box */
  18. } Mode_Info;
  19. const Mode_Info* Task_GetModeInfo(void);
  20. void Task_SetModeInfo(void);
  21.  
  22. #endif
  23.