home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / Triton / Source / classes / displayobject.pub2 < prev    next >
Text File  |  1998-05-23  |  2KB  |  37 lines

  1. /* class_DisplayObject */
  2.  
  3. #ifndef TR_THIS_IS_TRITON
  4.   struct TROD_DisplayObject
  5.   {
  6.     struct TROD_Object    O;                /* Superclass object data */
  7.     ULONG                 ID;               /* The object's ID */
  8.     ULONG                 MinWidth;         /* The precalculated minimum width */
  9.     ULONG                 MinHeight;        /* The precalculated minimum height */
  10.     ULONG                 Left;             /* The X coordinate of the object */
  11.     ULONG                 Top;              /* The Y coordinate of the object */
  12.     ULONG                 Width;            /* The width of the object */
  13.     ULONG                 Height;           /* The height of the object */
  14.     ULONG                 Flags;            /* See below for flags */
  15.     BOOL                  XResize;          /* Horizontally resizable? */
  16.     BOOL                  YResize;          /* Vertically resizable? */
  17.     STRPTR                QuickHelpString;  /* QuickHelp string */
  18.     WORD                  Shortcut;         /* The object's shortcut */
  19.     ULONG                 BackfillType;     /* The object's backfill type */
  20.     BOOL                  Installed;        /* Does the object have an on-screen representation? */
  21.  
  22.     ULONG                 Reserved[4];      /* Private! */
  23.   };
  24. #endif
  25.  
  26. #define TROB_DisplayObject      (TRTG_CLS+0x3C) /* A basic display object */
  27.  
  28. #define TRDO_QuickHelpString    (TRTG_OAT+0x1E3)
  29.  
  30. /* Flags */
  31. #define TROB_DISPLAYOBJECT_DISABLED    0x00100000L /* Disabled? */
  32. #define TROB_DISPLAYOBJECT_RETURNOK    0x00200000L /* Activate with <Return> */
  33. #define TROB_DISPLAYOBJECT_ESCOK       0x00400000L /* Activate with <Esc> */
  34. #define TROB_DISPLAYOBJECT_TABOK       0x00800000L /* Activate with <Tab> */
  35. #define TROB_DISPLAYOBJECT_SPACE       0x01000000L /* A spacing object? */
  36.  
  37.