home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / DocShell / DraftWLD.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.5 KB  |  70 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        DraftWLD.h
  3.  
  4.     Contains:    header for LDEF for Drafts dialog.
  5.  
  6.     Owned by:    Eric House
  7.  
  8.     Copyright:    © 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <6>     9/29/95    eeh        1287262: use ShellDef.h
  13.          <5>     8/25/95    eeh        1230007: add arrowEnds
  14.          <4>     3/24/95    eeh        1229961: change callbacks to use IText*
  15.          <3>    12/19/94    eeh        1192626: pass in column starts
  16.          <2>     8/18/94    TÇ        #1181622 Removed my name from the Written
  17.                                     By: field
  18.          <1>     7/23/94    TÇ        first checked in
  19.     To Do:
  20. */
  21.  
  22. #ifndef _DRAFTWLD_
  23. #define _DRAFTWLD_
  24.  
  25. #ifndef __TYPES__
  26. #include <Types.h>
  27. #endif
  28.  
  29. #ifndef _SHELLDEF_
  30. #include "ShellDef.h"
  31. #endif
  32.  
  33. #ifndef _DRAFTWN_
  34. #include "DraftWn.h"
  35. #endif
  36.  
  37. struct DWStringsArray {
  38.     Str255 creator;
  39.     Str255 draft;
  40.     Str255 created;
  41.     Str255 comment;
  42. };
  43. typedef struct DWStringsArray DWStringsArray;
  44.  
  45. //typedef    ODBoolean (*GetDWUserStringProc)( DraftInfoRec *self, ODSShort row,
  46. //        DWStringsArray* theStrings);
  47.  
  48. typedef    void (*DrawDWUserStringsProc)( struct DraftLDEFCallbackInfo *callbackInfo,
  49.         ODSShort row, const Rect* listItemRect);
  50.  
  51. struct DraftLDEFCallbackInfo {
  52.     DialogPtr dialog;
  53.     DraftInfoRec *dir;
  54.     DrawDWUserStringsProc stringsProc;
  55.     struct {
  56.         short right;
  57.         short left;
  58.         } rectEnds[4];
  59.     struct {
  60.         short right;
  61.         short left;
  62.         } arrowEnds;
  63. };
  64. typedef struct DraftLDEFCallbackInfo DraftLDEFCallbackInfo;
  65.  
  66. pascal void DRAFTWINDOWLDEF( short lMessage, Boolean lSelect, const Rect* lRect,
  67.         Cell lCell, short /*lDataOffset*/, short /*lDataLen*/, ListHandle lHandle );
  68.  
  69.  
  70. #endif // _DRAFTWLD_