home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / images / label.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.9 KB  |  81 lines

  1. #ifndef IMAGES_LABEL_H
  2. #define IMAGES_LABEL_H
  3. /*
  4. **    $VER: label.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the Label BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTRION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/imageclass.h>
  21. #endif
  22.  
  23.  
  24. /*****************************************************************************/
  25.  
  26. /* Justification modes.
  27.  */
  28. #define LJ_LEFT 0
  29. #define LJ_CENTRE 1
  30. #define LJ_RIGHT 2
  31.  
  32. /* For those that can't spell :)
  33.  */
  34. #define LJ_CENTER LJ_CENTRE
  35.  
  36. /* Obsolete, DON'T USE THESE!
  37.  */
  38. #define LABEL_LEFT LJ_LEFT
  39. #define LABEL_CENTRE LJ_CENTRE
  40. #define LABEL_CENTER LJ_CENTRE
  41. #define LABEL_RIGHT LJ_RIGHT
  42.  
  43. /*****************************************************************************/
  44.  
  45. /* Additional attributes defined by the Label class
  46.  */
  47. #define LABEL_Dummy                    (REACTION_Dummy+0x0006000)
  48.  
  49. #define    LABEL_DrawInfo                SYSIA_DrawInfo
  50.  
  51. #define    LABEL_Text                    (LABEL_Dummy+1)
  52.     /* (STRPTR) Text to print in the label. */
  53.  
  54. #define    LABEL_Image                    (LABEL_Dummy+2)
  55.     /* (struct Image *) Image to print in the label. */
  56.  
  57. #define    LABEL_Mapping                (LABEL_Dummy+3)
  58.     /* (UWORD *) Mapping array for the next image. */
  59.  
  60. #define    LABEL_Justification            (LABEL_Dummy+4)
  61.     /* (UWORD) Justification modes (see above) */
  62.  
  63. #define    LABEL_Key                    (LABEL_Dummy+5)
  64.     /* (UWORD) Returns the underscored key (if any) */
  65.  
  66. #define    LABEL_Underscore            (LABEL_Dummy+6)
  67.     /* (UBYTE) Defaults to '_'. */
  68.  
  69. #define    LABEL_DisposeImage            (LABEL_Dummy+7)
  70.     /* (BOOL) Defaults to FALSE. */
  71.  
  72. #define    LABEL_SoftStyle                (LABEL_Dummy+8)
  73.     /* (UBYTE) Defaults to none. */
  74.  
  75. #define    LABEL_VerticalSpacing        (LABEL_Dummy+9)
  76.     /* (UWORD) Vertical spacing between text/image nodes/lines. Defaults to 0. */
  77.  
  78. /*****************************************************************************/
  79.  
  80. #endif /* IMAGES_LABEL_H */
  81.