
#ifndef INTUITION_PREFERENCES_H
#define INTUITION_PREFERENCES_H TRUE
#ifndef EXEC_TYPES_H
#include "exec/types.h"
#endif
#ifndef DEVICES_TIMER_H
#include "devices/timer.h"
#endif
#define FILENAME_SIZE 30L
#define POINTERSIZE (1+16+1)*2L
#define TOPAZ_EIGHTY 8L
#define TOPAZ_SIXTY 9L
#define PREF_EXTBYTES 0
struct Preferences
{
BYTE FontHeight;
UBYTE PrinterPort;
USHORT BaudRate;
struct timeval KeyRptSpeed;
struct timeval KeyRptDelay;
struct timeval DoubleClick;
USHORT PointerMatrix[POINTERSIZE];
BYTE XOffset;
BYTE YOffset;
USHORT color17;
USHORT color18;
USHORT color19;
USHORT PointerTicks;
USHORT color0;
USHORT color1;
USHORT color2;
USHORT color3;
BYTE ViewXOffset;
BYTE ViewYOffset;
WORD ViewInitX, ViewInitY;
BOOL EnableCLI;
USHORT PrinterType;
UBYTE PrinterFilename[FILENAME_SIZE];
USHORT PrintPitch;
USHORT PrintQuality;
USHORT PrintSpacing;
UWORD PrintLeftMargin;
UWORD PrintRightMargin;
USHORT PrintImage;
USHORT PrintAspect;
USHORT PrintShade;
WORD PrintThreshold;
USHORT PaperSize;
UWORD PaperLength;
USHORT PaperType;
UBYTE SerRWBits;
UBYTE SerStopBuf;
UBYTE SerParShk;
UBYTE LaceWB;
UBYTE WorkName[FILENAME_SIZE];
BYTE sys_reserved1;
BYTE sys_reserved2;
UWORD PrintFlags;
UWORD PrintMaxWidth;
UWORD PrintMaxHeight;
UBYTE PrintDensity;
UBYTE PrintXOffset;
UWORD wb_Width;
UWORD wb_Height;
UBYTE wb_Depth;
UBYTE ext_size;
};
#define RowSizeChange sys_reserved1
#define ColumnSizeChange sys_reserved2
#define LACEWB 0x01L
#define LW_RESERVED1
#define PARALLEL_PRINTER 0x00L
#define SERIAL_PRINTER 0x01L
#define BAUD_110 0x00L
#define BAUD_300 0x01L
#define BAUD_1200 0x02L
#define BAUD_2400 0x03L
#define BAUD_4800 0x04L
#define BAUD_9600 0x05L
#define BAUD_19200 0x06L
#define BAUD_MIDI 0x07L
#define FANFOLD 0x00L
#define SINGLE 0x80L
#define PICA 0x000L
#define ELITE 0x400L
#define FINE 0x800L
#define DRAFT 0x000L
#define LETTER 0x100L
#define SIX_LPI 0x000L
#define EIGHT_LPI 0x200L
#define IMAGE_POSITIVE 0x00L
#define IMAGE_NEGATIVE 0x01L
#define ASPECT_HORIZ 0x00L
#define ASPECT_VERT 0x01L
#define SHADE_BW 0x00L
#define SHADE_GREYSCALE 0x01L
#define SHADE_COLOR 0x02L
#define US_LETTER 0x00L
#define US_LEGAL 0x10L
#define N_TRACTOR 0x20L
#define W_TRACTOR 0x30L
#define CUSTOM 0x40L
#define CUSTOM_NAME 0x00L
#define ALPHA_P_101 0x01L
#define BROTHER_15XL 0x02L
#define CBM_MPS1000 0x03L
#define DIAB_630 0x04L
#define DIAB_ADV_D25 0x05L
#define DIAB_C_150 0x06L
#define EPSON 0x07L
#define EPSON_JX_80 0x08L
#define OKIMATE_20 0x09L
#define QUME_LP_20 0x0AL
#define HP_LASERJET 0x0BL
#define HP_LASERJET_PLUS 0x0CL
#define SBUF_512 0x00L
#define SBUF_1024 0x01L
#define SBUF_2048 0x02L
#define SBUF_4096 0x03L
#define SBUF_8000 0x04L
#define SBUF_16000 0x05L
#define SREAD_BITS 0xF0L
#define SWRITE_BITS 0x0FL
#define SSTOP_BITS 0xF0L
#define SBUFSIZE_BITS 0x0FL
#define SPARITY_BITS 0xF0L
#define SPARITY_NONE 0L
#define SPARITY_EVEN 1L
#define SPARITY_ODD 2L
#define SHSHAKE_XON 0L
#define SHSHAKE_RTS 1L
#define SHSHAKE_NONE 2L
#define CORRECT_RED 0x0001
#define CORRECT_GREEN 0x0002
#define CORRECT_BLUE 0x0004
#define CENTER_IMAGE 0x0008
#define IGNORE_DIMENSIONS 0x0000
#define BOUNDED_DIMENSIONS 0x0010
#define ABSOLUTE_DIMENSIONS 0x0020
#define PIXEL_DIMENSIONS 0x0040
#define MULTIPLY_DIMENSIONS 0x0080
#define INTEGER_SCALING 0x0100
#define ORDERED_DITHERING 0x0000
#define HALFTONE_DITHERING 0x0200
#define FLOYD_DITHERING 0x0400
#define ANTI_ALIAS 0x0800
#define GREY_SCALE2 0x1000
#define CORRECT_RGB_MASK (CORRECT_RED|CORRECT_GREEN|CORRECT_BLUE)
#define DIMENSIONS_MASK (BOUNDED_DIMENSIONS|ABSOLUTE_DIMENSIONS|PIXEL_DIMENSIONS|MULTIPLY_DIMENSIONS)
#define DITHERING_MASK (HALFTONE_DITHERING|FLOYD_DITHERING)

#endif

