#ifndef PREFS_OVERSCAN_H
#define PREFS_OVERSCAN_H
/*
**	$Id: overscan.h,v 38.4 92/10/22 17:51:01 vertex Exp $
**
**	File format for overscan preferences
**
**	(C) Copyright 1991 Commodore-Amiga, Inc.
**	All Rights Reserved
*/

/*****************************************************************************/


#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

#ifndef LIBRARIES_IFFPARSE_H
#include <libraries/iffparse.h>
#endif

#ifndef GRAPHICS_GFX_H
#include <graphics/gfx.h>
#endif


/*****************************************************************************/


#define ID_OSCN MAKE_ID('O','S','C','N')

#define OSCAN_MAGIC  0xFEDCBA89


struct OverscanPrefs
{
    ULONG            os_Reserved;
    ULONG            os_Magic;
    UWORD            os_HStart;
    UWORD            os_HStop;
    UWORD            os_VStart;
    UWORD            os_VStop;
    ULONG            os_DisplayID;
    Point            os_ViewPos;
    Point            os_Text;
    struct Rectangle os_Standard;
};

/* os_HStart, os_HStop, os_VStart, os_VStop can only be looked at if
 * os_Magic equals OSCAN_MAGIC. If os_Magic is set to any other value,
 * these four fields are undefined
 */


/*****************************************************************************/


#endif /* PREFS_OVERSCAN_H */
