home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff201.lzh
/
Draco
/
drinc
/
intuition
/
preferences.g
< prev
next >
Wrap
Text File
|
1989-04-03
|
3KB
|
132 lines
uint
FILENAME_SIZE=30,
POINTERSIZE=(1+16+1)*2;
ushort
TOPAZ_EIGHTY=8,
TOPAZ_SIXTY=9;
type
timeval_t=unknown8,
Preferences_t=struct{
ushortpr_FontHeight;
ushortpr_PrinterPort;
uintpr_BaudRate;
timeval_tpr_KeyRptSpeed,pr_KeyRptDelay,pr_DoubleClick;
[POINTERSIZE]uintpr_PointerMatrix;
ushortpr_XOffset,pr_YOffset;
uintpr_color17,pr_color18,pr_color19;
uintpr_PointerTicks;
uintpr_color0,pr_color1,pr_color2,pr_color3;
ushortpr_ViewXOffset,pr_ViewYOffset;
uintpr_ViewInitX,ViewInitY;
uintpr_EnableCLI;
uintpr_PrinterType;
[FILENAME_SIZE]charpr_PrinterFileName;
uintpr_PrintPitch;
uintpr_PrintQuality;
uintpr_PrintSpacing;
uintpr_PrintLeftMargin;
uintpr_PrintRightMargin;
uintpr_PrintImage;
uintpr_PrintAspect;
intpr_PrintThreshold;
uintpr_PaperSize;
uintpr_PaperLength;
uintpr_PaperType;
ushortpr_SerRWBits;
ushortpr_SerStopBuf;
ushortpr_SerParShk;
ushortpr_LaceWB;
[FILENAME_SIZE]charpr_WorkName;
[16]bytepr_padding;
};
ushort
LACEWB=0x01,
PARALLEL_PRINTER=0x00,
SERIAL_PRINTER=0x01,
BAUD_110=0x00,
BAUD_300=0x01,
BAUD_1200=0x02,
BAUD_2400=0x03,
BAUD_4800=0x04,
BAUD_9600=0x05,
BAUD_19200=0x06,
BAUD_MIDI=0x07,
FANFOLD=0x00,
SINGLE=0x80;
uint
PICA=0x0000,
ELITE=0x0400,
FINE=0x0800,
DRAFT=0x0000,
LETTER=0x0100,
SIX_LPI=0x0000,
EIGHT_LPI=0x0200,
IMAGE_POSITIVE=0x0000,
IMAGE_NEGATIVE=0x0001,
ASPECT_HORIZ=0x0000,
ASPECT_VERT =0x0001,
SHADE_BW=0x0000,
SHADE_GREYSCALE=0x0001,
SHADE_COLOR =0x0002,
US_LETTER=0x0000,
US_LEGAL=0x0010,
N_TRACTOR=0x0020,
W_TRACTOR=0x0030,
CUSTOM=0x0040,
CUSTOM_NAME =0x0000,
ALPHA_P_101 =0x0001,
BROTHER_15XL=0x0002,
CBM_MPS1000 =0x0003,
DIAB_630=0x0004,
DIAB_ADB_D25=0x0005,
DIAB_C_150=0x0006,
EPSON=0x0007,
EPSON_JX_80 =0x0008,
OKIMATE_20=0x0009,
QUME_LP_20=0x000A,
HP_LASERJET =0x000B,
HP_LASERJET_PLUS=0x000C;
ushort
SREAD_BITS=0xF0,
SWRITE_BITS =0x0F,
SSTOP_BITS=0xF0,
SBUFSIZE_BITS=0x0F,
SPARITY_BITS=0xF0,
SHSHAKE_BITS=0x0F,
SPARITY_NONE=0,
SPARITY_EVEN=1,
SPARITY_ODD =2,
SHSHAKE_XON =0,
SHSHAKE_RTS =1,
SHSHAKE_NONE=2;
extern
GetDefPrefs(*Preferences_tpref;ulongsize)*Preferences_t,
GetPrefs(*Preferences_tpref;ulongsize)*Preferences_t,
SetPrefs(*Preferences_tpref;ulongsize;ulonginform)void,
SRBNUM(ushortn)ushort,
SWBNUM(ushortn)ushort,
SSBNUM(ushortn)ushort,
SPARNUM(ushortn)ushort,
SHAKNUM(ushortn)ushort;