home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / prefs / overscan.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  1KB  |  61 lines

  1. #ifndef PREFS_OVERSCAN_H
  2. #define PREFS_OVERSCAN_H
  3. /*
  4. **    $VER: overscan.h 38.4 (22.10.92)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for overscan preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef LIBRARIES_IFFPARSE_H
  21. #include <libraries/iffparse.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_GFX_H
  25. #include <graphics/gfx.h>
  26. #endif
  27.  
  28.  
  29. /*****************************************************************************/
  30.  
  31.  
  32. #define ID_OSCN MAKE_ID('O','S','C','N')
  33.  
  34. #define OSCAN_MAGIC  0xFEDCBA89
  35.  
  36.  
  37. struct OverscanPrefs
  38. {
  39.     ULONG         os_Reserved;
  40.     ULONG         os_Magic;
  41.     UWORD         os_HStart;
  42.     UWORD         os_HStop;
  43.     UWORD         os_VStart;
  44.     UWORD         os_VStop;
  45.     ULONG         os_DisplayID;
  46.     Point         os_ViewPos;
  47.     Point         os_Text;
  48.     struct Rectangle os_Standard;
  49. };
  50.  
  51. /* os_HStart, os_HStop, os_VStart, os_VStop can only be looked at if
  52.  * os_Magic equals OSCAN_MAGIC. If os_Magic is set to any other value,
  53.  * these four fields are undefined
  54.  */
  55.  
  56.  
  57. /*****************************************************************************/
  58.  
  59.  
  60. #endif /* PREFS_OVERSCAN_H */
  61.