home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v5 / opussdk / amigaguide / dopus / progress.h < prev    next >
C/C++ Source or Header  |  1977-12-31  |  3KB  |  73 lines

  1. @DATABASE "dopus/progress.h"
  2. @MASTER   "opussdk:include/dopus/progress.h"
  3. @REMARK   (c) Dr Greg Perry and Jonathan Potter, GPSoftware 1996
  4. @REMARK   This file was initially created by ADtoHT 2.1 on 07-Sep-96 18:20:14
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "dopus/progress.h"
  8. @TOC "DopusSDK/MAIN"
  9.  
  10. @{"dopus/progress.h" LINK File}
  11.  
  12.  
  13. @{b}#defines@{ub}
  14.  
  15. @{"PW_FileCount" LINK "dopus/progress.h/File" 23}  @{"PW_FileDone" LINK "dopus/progress.h/File" 22}    @{"PW_FileName" LINK "dopus/progress.h/File" 20}   @{"PW_FileNum" LINK "dopus/progress.h/File" 24}
  16. @{"PW_FileSize" LINK "dopus/progress.h/File" 21}   @{"PW_Flags" LINK "dopus/progress.h/File" 19}       @{"PW_Info" LINK "dopus/progress.h/File" 25}       @{"PW_Screen" LINK "dopus/progress.h/File" 14}
  17. @{"PW_SigBit" LINK "dopus/progress.h/File" 18}     @{"PW_SigTask" LINK "dopus/progress.h/File" 17}     @{"PW_Title" LINK "dopus/progress.h/File" 16}      @{"PW_Window" LINK "dopus/progress.h/File" 15}
  18. @{"PWF_ABORT" LINK "dopus/progress.h/File" 33}     @{"PWF_FILENAME" LINK "dopus/progress.h/File" 27}   @{"PWF_FILESIZE" LINK "dopus/progress.h/File" 28}  @{"PWF_GRAPH" LINK "dopus/progress.h/File" 30}
  19. @{"PWF_INFO" LINK "dopus/progress.h/File" 29}      @{"PWF_INVISIBLE" LINK "dopus/progress.h/File" 32}  @{"PWF_NOABORT" LINK "dopus/progress.h/File" 31}   @{"PWF_SWAP" LINK "dopus/progress.h/File" 34}
  20.  
  21. @ENDNODE
  22. @NODE File "dopus/progress.h"
  23. #ifndef _DOPUS_PROGRESS
  24. #define _DOPUS_PROGRESS
  25.  
  26. /*****************************************************************************
  27.  
  28.  Progress window
  29.  
  30.  *****************************************************************************/
  31.  
  32. #ifndef UTILITY_TAGITEM_H
  33. #include <utility/tagitem.h>
  34. #endif
  35.  
  36. #define PW_Screen       TAG_USER + 0            // Screen to open on
  37. #define PW_Window       TAG_USER + 1            // Owner window
  38. #define PW_Title        TAG_USER + 2            // Window title
  39. #define PW_SigTask      TAG_USER + 3            // Task to signal
  40. #define PW_SigBit       TAG_USER + 4            // Signal bit
  41. #define PW_Flags        TAG_USER + 5            // Flags
  42. #define PW_FileName     TAG_USER + 6            // File name
  43. #define PW_FileSize     TAG_USER + 7            // File size
  44. #define PW_FileDone     TAG_USER + 8            // File done
  45. #define PW_FileCount    TAG_USER + 9            // Number of files
  46. #define PW_FileNum      TAG_USER + 10           // Current number
  47. #define PW_Info         TAG_USER + 11           // Information line
  48.  
  49. #define PWF_FILENAME            (1<<0)          // Filename display
  50. #define PWF_FILESIZE            (1<<1)          // Filesize display
  51. #define PWF_INFO                (1<<2)          // Information line
  52. #define PWF_GRAPH               (1<<3)          // Bar graph display
  53. #define PWF_NOABORT             (1<<4)          // No abort gadget
  54. #define PWF_INVISIBLE           (1<<5)          // Open invisibly
  55. #define PWF_ABORT               (1<<6)          // Want abort gadget
  56. #define PWF_SWAP                (1<<7)          // Swap bar and size displays
  57.  
  58.  
  59. BOOL CheckProgressAbort(APTR);
  60. void CloseProgressWindow(APTR);
  61. void GetProgressWindow(APTR,struct TagItem *);
  62. void HideProgressWindow(APTR);
  63. APTR OpenProgressWindow(struct TagItem *);
  64. void SetProgressWindow(APTR,struct TagItem *);
  65. void ShowProgressWindow(APTR,struct Screen *,struct Window *);
  66.  
  67. APTR __stdargs OpenProgressWindowTags(Tag,...);
  68. void __stdargs SetProgressWindowTags(APTR,Tag,...);
  69. void __stdargs GetProgressWindowTags(APTR,Tag,...);
  70.  
  71. #endif
  72. @ENDNODE
  73.