#define KLIBNAME "kd_freq.library" #define KLIBVERSION 2L #define FRB_PRIVATE 0L /* Private flag - do not use */ #define FRB_DUALWILD 1L /* Dual wildcard facility */ #define FRB_NOINFO 2L /* Don't show .info files */ #define FRB_NOTITLEBAR 3L /* No titlebar/dragbar/front/back/close gads */ #define FRB_AUTOPOSITION 4L /* Use autopositioning */ #define FRB_AUTOSIZE 5L /* Use autosizing */ #define FRB_NORESIZE 6L /* Forbid resizing */ #define FRB_OKTEXT 7L /* New OK text defined */ #define FRB_FRONTSCREEN 8L /* Show up on front screen */ #define FRB_NOTEXTSHADOW 9L /* Do not use text shadows */ #define FRB_REPLACEIMAGES 10L /* Give user program images to FR */ #define FRB_CANCELTEXT 11L /* New Cancel text defined */ #define FRB_NEWFONT 12L /* Use a special font */ #define FRB_SCREENFONT 13L /* Use the screen's font */ #define FRB_EXTENDEDSELECT 14L /* Allow multiple file selections */ #define FRB_INVERTLOOK 15L /* Gives an inverted look.. use for Save */ #define FRB_HIDEWILD 16L /* Hide Wildcard to be defined in extras->Hide */ #define FRB_NEWLOOK 17L /* Make FR use that WB 2.0 look */ #define FR_PRIVATE 1L << FRB_PRIVATE #define FR_DUALWILD 1L << FRB_DUALWILD #define FR_NOINFO 1L << FRB_NOINFO #define FR_NOTITLEBAR 1L << FRB_NOTITLEBAR #define FR_AUTOPOSITION 1L << FRB_AUTOPOSITION #define FR_AUTOSIZE 1L << FRB_AUTOSIZE #define FR_NORESIZE 1L << FRB_NORESIZE #define FR_OKTEXT 1L << FRB_OKTEXT #define FR_FRONTSCREEN 1L << FRB_FRONTSCREEN #define FR_NOTEXTSHADOW 1L << FRB_NOTEXTSHADOW #define FR_REPLACEIMAGES 1L << FRB_REPLACEIMAGES #define FR_CANCELTEXT 1L << FRB_CANCELTEXT #define FR_NEWFONT 1L << FRB_NEWFONT #define FR_SCREENFONT 1L << FRB_SCREENFONT #define FR_EXTENDEDSELECT 1L << FRB_EXTENDEDSELECT #define FR_INVERTLOOK 1L << FRB_INVERTLOOK #define FR_HIDEWILD 1L << FRB_HIDEWILD #define FR_NEWLOOK 1L << FRB_NEWLOOK struct FileList { /* Structure for returned multiple select */ struct FileList *next; /* Pointer to next FileList structure */ LONG private; /* private -- do not use */ LONG FileSize; /* File size */ LONG FileDate; /* Date stamp (in days since 1978) */ USHORT FileTime; /* Time stamp (in minutes since midnight) */ UBYTE FileProtection; /* Protection flags */ UBYTE FileFlags; /* Special file flags */ UBYTE FileName[32]; /* The file name itself */ }; struct ExtraData { struct Image *UpArrow; /* replacement image for Up Arrow */ struct Image *DnArrow; /* replacement image for Down Arrow */ struct Image *DiskNormal; /* replacement image for Disks */ struct Image *DiskSelected; /* replacement select image for Disks */ struct Image *SizeStrip; /* replacement image for Size gadgets */ UBYTE *oktext; /* text to be used as OK text */ UBYTE *canceltext; /* text to be used as CANCEL text */ USHORT LeftEdge,TopEdge,Width,Height; struct TextFont *NewFont; /* New font to use instead of Topaz 8 */ struct FileList *ExtendedList; /* Always set to NULL at first call. */ /* If FR_EXTENDEDSELECT is set, this will */ /* return a linked list of FileList structs. */ UBYTE *Hide; /* Hide wildcard pattern */ ULONG unused[4]; /* for future expansion. Always set to NULL */ }; /* Copyright 1990 Khalid Aldoseri. */