home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 402.lha / kd_freq.library_v2.00 / Programming / kdbase.h < prev    next >
C/C++ Source or Header  |  1990-07-26  |  3KB  |  76 lines

  1. #define KLIBNAME        "kd_freq.library"
  2. #define    KLIBVERSION        2L
  3.  
  4. #define    FRB_PRIVATE            0L        /* Private flag - do not use */
  5. #define    FRB_DUALWILD        1L        /* Dual wildcard facility */
  6. #define FRB_NOINFO            2L        /* Don't show .info files */
  7. #define    FRB_NOTITLEBAR        3L        /* No titlebar/dragbar/front/back/close gads */
  8. #define FRB_AUTOPOSITION    4L        /* Use autopositioning */
  9. #define FRB_AUTOSIZE        5L        /* Use autosizing */
  10. #define FRB_NORESIZE        6L        /* Forbid resizing */
  11. #define FRB_OKTEXT            7L        /* New OK text defined */
  12. #define FRB_FRONTSCREEN        8L        /* Show up on front screen */
  13. #define FRB_NOTEXTSHADOW    9L        /* Do not use text shadows */
  14. #define FRB_REPLACEIMAGES    10L        /* Give user program images to FR */
  15. #define FRB_CANCELTEXT        11L        /* New Cancel text defined */
  16. #define FRB_NEWFONT            12L        /* Use a special font */
  17. #define FRB_SCREENFONT        13L        /* Use the screen's font */
  18. #define FRB_EXTENDEDSELECT    14L        /* Allow multiple file selections */
  19. #define FRB_INVERTLOOK        15L        /* Gives an inverted look.. use for Save */
  20. #define FRB_HIDEWILD        16L        /* Hide Wildcard to be defined in extras->Hide */
  21. #define FRB_NEWLOOK            17L        /* Make FR use that WB 2.0 look */
  22.  
  23. #define    FR_PRIVATE            1L << FRB_PRIVATE
  24. #define    FR_DUALWILD            1L << FRB_DUALWILD
  25. #define FR_NOINFO            1L << FRB_NOINFO
  26. #define    FR_NOTITLEBAR        1L << FRB_NOTITLEBAR
  27. #define FR_AUTOPOSITION        1L << FRB_AUTOPOSITION
  28. #define FR_AUTOSIZE            1L << FRB_AUTOSIZE
  29. #define FR_NORESIZE            1L << FRB_NORESIZE
  30. #define FR_OKTEXT            1L << FRB_OKTEXT
  31. #define FR_FRONTSCREEN        1L << FRB_FRONTSCREEN
  32. #define FR_NOTEXTSHADOW        1L << FRB_NOTEXTSHADOW
  33. #define FR_REPLACEIMAGES    1L << FRB_REPLACEIMAGES
  34. #define FR_CANCELTEXT        1L << FRB_CANCELTEXT
  35. #define FR_NEWFONT            1L << FRB_NEWFONT
  36. #define FR_SCREENFONT        1L << FRB_SCREENFONT
  37. #define FR_EXTENDEDSELECT    1L << FRB_EXTENDEDSELECT
  38. #define FR_INVERTLOOK        1L << FRB_INVERTLOOK
  39. #define FR_HIDEWILD            1L << FRB_HIDEWILD
  40. #define FR_NEWLOOK            1L << FRB_NEWLOOK
  41.  
  42. struct FileList {                    /* Structure for returned multiple select */
  43.         struct FileList *next;        /* Pointer to next FileList structure */ 
  44.         LONG   private;                /* private -- do not use */
  45.         LONG   FileSize;            /* File size  */
  46.         LONG   FileDate;            /* Date stamp (in days since 1978) */
  47.         USHORT FileTime;            /* Time stamp (in minutes since midnight) */
  48.         UBYTE  FileProtection;        /* Protection flags */
  49.         UBYTE  FileFlags;            /* Special file flags */
  50.         UBYTE  FileName[32];        /* The file name itself */
  51.     };
  52.  
  53.  
  54. struct ExtraData {
  55.     struct Image *UpArrow;            /* replacement image for Up Arrow */
  56.     struct Image *DnArrow;            /* replacement image for Down Arrow */
  57.     struct Image *DiskNormal;        /* replacement image for Disks */
  58.     struct Image *DiskSelected;        /* replacement select image for Disks */
  59.     struct Image *SizeStrip;        /* replacement image for Size gadgets */
  60.  
  61.     UBYTE    *oktext;                /* text to be used as OK text */
  62.     UBYTE    *canceltext;            /* text to be used as CANCEL text */
  63.     USHORT    LeftEdge,TopEdge,Width,Height;
  64.  
  65.     struct    TextFont *NewFont;        /* New font to use instead of Topaz 8 */    
  66.     struct    FileList *ExtendedList;    /* Always set to NULL at first call.  */
  67.                                     /* If FR_EXTENDEDSELECT is set, this will */
  68.                                     /* return a linked list of FileList structs. */
  69.  
  70.     UBYTE    *Hide;                    /* Hide wildcard pattern */
  71.  
  72.     ULONG    unused[4];                /* for future expansion.  Always set to NULL */
  73.     };
  74.  
  75. /*                   Copyright 1990  Khalid Aldoseri.                     */
  76.