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

  1. #ifndef TRCL_LISTVIEW_DEFINED
  2. #define TRCL_LISTVIEW_DEFINED
  3.  
  4.   #include "displayobject.def"
  5.  
  6.   struct TROD_Listview
  7.   {
  8.     struct TROD_DisplayObject DO;
  9.     struct List *             Entries;
  10.     ULONG                     Value;
  11.     ULONG                     Top;
  12.     ULONG                     Flags;
  13.     BOOL                      ReadOnly;
  14.     BOOL                      ShowSelected;
  15.     ULONG                     DispLines;      // Number of visible entries
  16.     ULONG                     TotLines;       // Number of total entries
  17.     ULONG                     MinWidth;
  18.     ULONG                     MinHeight;
  19.     UWORD                     FontHeight;
  20.     UWORD                     ScrollWidth;
  21.     ULONG                     LastEntry;
  22.     ULONG                     LastSeconds;
  23.     ULONG                     LastMicros;
  24.     BOOL                      DoubleClicked;  // Was the last click a double-click?
  25.   };
  26.  
  27.   extern TR_METHOD(Listview,NEW,NewData);
  28.   extern TR_METHOD(Listview,INSTALL,InstallData);
  29.   extern TR_METHOD(Listview,SETATTRIBUTE,SetAttributeData);
  30.   extern TR_SIMPLEMETHOD(Listview,GETATTRIBUTE);
  31.   extern TR_SIMPLEMETHOD(Listview,DISABLED_ENABLED);
  32.   extern TR_SIMPLEMETHOD(Listview,PREGTREMOVE);
  33.   extern TR_METHOD(Listview,KEYDOWN_REPEATEDKEYDOWN,EventData);
  34.   extern TR_METHOD(Listview,EVENT,EventData);
  35.   extern TR_SIMPLEMETHOD(Listview,GETBETTERHEIGHT);
  36.  
  37. #endif
  38.