home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.7 / content.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-09  |  1.1 KB  |  51 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     content.h
  4.     Copyright (c) 1990-1992, joe holt
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef __content__
  10. #define __content__
  11.  
  12. /*******************************************************************************
  13.  **
  14.  **    Headers
  15.  **
  16.  **/
  17.  
  18. #ifndef __ctypes__
  19. #include "ctypes.h"
  20. #endif
  21. #ifndef __heap_list__
  22. #include "heap_list.h"
  23. #endif
  24.  
  25.  
  26. /*******************************************************************************
  27.  **
  28.  **    Public Functions
  29.  **
  30.  **/
  31.  
  32. void Content_init( void );
  33. void Content_mousedown( EventRecord *the_event );
  34. void Content_set_cursor( EventRecord *the_event );
  35. int16 Content_rows( void );
  36. void Content_reset_vert( void );
  37. void Content_horiz_scrolled( int cvalue );
  38. Boolean Content_reset_horiz( ControlHandle the_control );
  39. int16 Content_partial_row( void );
  40. void Content_scroll_horiz( ControlHandle the_control, int16 part, int16 unit_delta );
  41.  
  42. int32 Content_heap_offset_pixels( void );
  43.  
  44. void *Content_pixel_to_address( Heap_info_t *d, int32 pixel_h );
  45. int32 Content_address_to_pixel( Heap_info_t *d, void *address );
  46. Boolean Content_find_point( Point where, Heap_info_handle_t *hp, int16 *type );
  47.  
  48. void record_for_mbox( Heap_info_t *hi );
  49.  
  50. #endif
  51.