home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / ColorSync SDK / Sample Code / CSDemo 2.1 / CSDemoSources / winPictDocGetSet.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-13  |  2.1 KB  |  72 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef _WINPICTDOCGETSET_
  3. #define _WINPICTDOCGETSET_
  4.  
  5.  
  6. #ifndef __QUICKDRAW__
  7. #include <QuickDraw.h>
  8. #endif
  9.  
  10. #ifndef __CONTROLS__
  11. #include <Controls.h>
  12. #endif
  13.  
  14. #ifndef __CMAPPLICATION__
  15. #include <CMApplication.h>
  16. #endif
  17.  
  18. #ifndef _WIN_
  19. #include "win.h"
  20. #endif
  21.  
  22. #ifndef _DRAGUTILS_
  23. #include "dragUtils.h"
  24. #endif
  25.  
  26. #ifndef _WINPICTDOC_
  27. #include "winPictDoc.h"
  28. #endif
  29.  
  30.  
  31. /**\
  32. |**| ==============================================================================
  33. |**| PUBLIC FUNCTION PROTOTYPES
  34. |**| ==============================================================================
  35. \**/
  36. PicHandle        GetPictDocPict            ( winHandle win, short which ) ;
  37. void            SetPictDocPict            ( winHandle win, short which, PicHandle thePict ) ;
  38.  
  39. Boolean            GetPictDocNeedsUpdate    ( winHandle win, short which ) ;
  40. void            SetPictDocNeedsUpdate    ( winHandle win, short which, Boolean b ) ;
  41.  
  42. long            GetPictDocDrawTime        ( winHandle win, short which ) ;
  43. void            SetPictDocDrawTime        ( winHandle win, short which, long ticks ) ;
  44.  
  45. Rect            GetPictDocPictRect        ( winHandle win ) ;
  46. void            SetPictDocPictRect        ( winHandle win, Rect theRect ) ;
  47.  
  48. Rect            GetPictDocPaneRect        ( winHandle win ) ;
  49. void            SetPictDocPaneRect        ( winHandle win, Rect theRect ) ;
  50.  
  51. PaletteHandle    GetPictDocPalette        ( winHandle win ) ;
  52. void            SetPictDocPalette        ( winHandle win, PaletteHandle thePalette ) ;
  53.  
  54. ControlHandle    GetPictDocCntl            ( winHandle win, short id ) ;
  55. void            SetPictDocCntl            ( winHandle win, short id, ControlHandle cntl ) ;
  56. short            GetPictDocCntlValue        ( winHandle win, short id ) ;
  57. void            SetPictDocCntlValue        ( winHandle win, short id, short val ) ;
  58.  
  59. CMProfileRef    GetPictDocProfile        ( winHandle win, short which ) ;
  60. void            SetPictDocProfile        ( winHandle win, short which, CMProfileRef prof ) ;
  61.  
  62. ListHandle        GetPictDocProfList        ( winHandle win ) ;
  63. void            SetPictDocProfList        ( winHandle win, ListHandle list ) ;
  64.  
  65. unsigned long    GetPictDocListCount        ( winHandle win ) ;
  66. void            SetPictDocListCount        ( winHandle win, unsigned long count ) ;
  67.  
  68. DragZonesHdl    GetPictDocDragZones        ( winHandle win ) ;
  69. void            SetPictDocDragZones        ( winHandle win, DragZonesHdl theDragZones ) ;
  70.  
  71.  
  72. #endif