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

  1. @DATABASE "dopus/icon.h"
  2. @MASTER   "opussdk:include/dopus/icon.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/icon.h"
  8. @TOC "DopusSDK/MAIN"
  9.  
  10. @{"dopus/icon.h" LINK File}
  11.  
  12.  
  13. @{b}#defines@{ub}
  14.  
  15. @{"ICONF_NO_BORDER" LINK "dopus/icon.h/File" 17}  @{"ICONF_NO_LABEL" LINK "dopus/icon.h/File" 18}  @{"ICONF_POSITION_OK" LINK "dopus/icon.h/File" 16}
  16.  
  17. @ENDNODE
  18. @NODE File "dopus/icon.h"
  19. #ifndef _DOPUS_ICON
  20. #define _DOPUS_ICON
  21.  
  22. /*****************************************************************************
  23.  
  24.  Icon support
  25.  
  26.  *****************************************************************************/
  27.  
  28.  
  29. // Copy icon from one file to another
  30. void CopyFileIcon(char *,char *);
  31.  
  32.  
  33. // Special icon flags
  34. #define ICONF_POSITION_OK       (1<<31)         // Opus position stored in icon
  35. #define ICONF_NO_BORDER         (1<<28)         // No icon border
  36. #define ICONF_NO_LABEL          (1<<27)         // No label
  37.  
  38. ULONG GetIconFlags(struct DiskObject *);
  39. void SetIconFlags(struct DiskObject *,ULONG);
  40. void GetIconPosition(struct DiskObject *,short *,short *);
  41. void SetIconPosition(struct DiskObject *,short,short);
  42.  
  43.  
  44. // Icon caching
  45. struct DiskObject *GetCachedDefDiskObject(long);
  46. void FreeCachedDiskObject(struct DiskObject *);
  47. struct DiskObject *GetCachedDiskObject(char *);
  48. struct DiskObject *GetCachedDiskObjectNew(char *);
  49.  
  50. #endif
  51. @ENDNODE
  52.