home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 199.lha / GimmeLib / scrollbar.h < prev    next >
C/C++ Source or Header  |  1988-12-27  |  1KB  |  36 lines

  1. #ifndef GIMMELIB_SCROLLBAR_H
  2. #define GIMMELIB_SCROLLBAR_H
  3.  
  4. /* flags for gimmeOneScroll() */
  5. #define GOS_TOP         (1L << 0)
  6. #define GOS_BOT         (1L << 1)   /* default if FREEVERT */
  7. #define GOS_LEFT        (1L << 2)
  8. #define GOS_RIGHT        (1L << 3)   /* default if FREEHORIZ */
  9.  
  10. /* dimensions of image data for one-scroll gadgets */
  11. #define GOS_BITWIDTH    16
  12. #define GOS_BITHEIGHT    9
  13. #define GOS_BITDEPTH    1
  14.  
  15. /* dimensions of Intuition sizing gadget */
  16. #define GIM_SZWIDTH        16
  17. #define GIM_SZHEIGHT        9
  18. #define GIM_SZDEPTH        1
  19. #define GIM_DFLT_TBHEIGHT   10        /* default Intuition titlebar height */
  20.  
  21.  
  22. #ifndef I_AM_GIM_GLOBALS
  23. extern USHORT gimDataOneScrollUp[];
  24. extern USHORT gimDataOneScrollDown[];
  25. extern USHORT gimDataOneScrollLeft[];
  26. extern USHORT gimDataOneScrollRight[];
  27. #endif !I_AM_GIM_GLOBALS
  28.  
  29.  
  30. /* flags for gimmeScrollBar(), gimmeFullScrollBar() */
  31. #define GSB_DEFAULT        (0L)
  32. #define GSB_ONE_SCROLL        (1L << 0)   /* gimmescrollbar with one-scrolls */
  33. #define GSB_NO_TITLEBAR     (1L << 1)
  34.  
  35. #endif !GIMMELIB_SCROLLBAR_H
  36.