home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / pGadget / PropGad.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.2 KB  |  53 lines

  1. #ifndef __INC_POS_PGADGET_PROPGAD_H
  2. #define __INC_POS_PGADGET_PROPGAD_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>PropGad.h<<   23 Feb 1997    17:09:48 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PGADGET_GADGET_H
  12. #include <pGadget/Gadget.h>
  13. #endif
  14.  
  15.  
  16. /*----------------------------------
  17. -----------------------------------*/
  18. struct pOS_PropGadInfo
  19. {
  20.   UWORD pg_Flags;   /* (enum pOS_PropGadFlags) */
  21.  
  22.   UWORD pg_HorizPot;
  23.   UWORD pg_VertPot;
  24.  
  25.   UWORD pg_HorizBody;
  26.   UWORD pg_VertBody;
  27.  
  28.   UWORD pg_CWidth;
  29.   UWORD pg_CHeight;
  30.   UWORD pg_HPotRes, pg_VPotRes;  /* pot increments */
  31.   UWORD pg_LeftBorder;
  32.   UWORD pg_TopBorder;
  33.  
  34. /** SYSTEM-PRIVATE-DATAS **/
  35.  
  36. };
  37.  
  38.  
  39. enum pOS_PropGadFlags /* pg_Flags */
  40. {
  41.   PRGADF_FreeHoriz=   0x0002,  /* if set, the knob can move horizontally */
  42.   PRGADF_FreeVert=    0x0004,  /* if set, the knob can move vertically */
  43.   PRGADF_KnobHit=     0x0100,  /* set when this Knob is hit */
  44. };
  45.  
  46. enum pOS_PropGadConst
  47. {
  48.   PRGADCON_MaxBody =0xffff,
  49.   PRGADCON_MaxPot  =0xffff,
  50. };
  51.  
  52. #endif
  53.