home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Palettes / MiscTableScroll / Framework / MiscHighlightTracker.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  2.0 KB  |  50 lines

  1. #ifndef __MiscHighlightTracker_h
  2. #define __MiscHighlightTracker_h
  3. //=============================================================================
  4. //
  5. //    Copyright (C) 1995, 1996 by Paul S. McCarthy and Eric Sunshine.
  6. //        Written by Paul S. McCarthy and Eric Sunshine.
  7. //                All Rights Reserved.
  8. //
  9. //    This notice may not be removed from this source code.
  10. //
  11. //    This object is included in the MiscKit by permission from the authors
  12. //    and its use is governed by the MiscKit license, found in the file
  13. //    "License.rtf" in the MiscKit distribution.  Please refer to that file
  14. //    for a list of all applicable permissions and restrictions.
  15. //    
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // MiscHighlightTracker.h
  19. //
  20. //    Highlight-mode selection tracking.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: MiscHighlightTracker.h,v 1.3 96/05/07 02:12:47 sunshine Exp $
  25. // $Log:    MiscHighlightTracker.h,v $
  26. //  Revision 1.3  96/05/07  02:12:47  sunshine
  27. //  For OpenStep conformance, keyboard events are now treated the same as
  28. //  mouse events (i.e. one must use the same modifiers with keyboard events
  29. //  as one does with mouse events rather than the behavior being different
  30. //  for keyboard events).  Ditched -keyDown:atPos: method.
  31. //  
  32. //  Revision 1.2  96/04/30  05:38:27  sunshine
  33. //  Ported to OpenStep 4.0 for Mach PR2.
  34. //-----------------------------------------------------------------------------
  35. #import "MiscListTracker.h"
  36.  
  37. @interface MiscHighlightTracker : MiscListTracker
  38.     {
  39.     BOOL extending;
  40.     MiscCoord_V lastPos;
  41.     }
  42.  
  43. - (void) mouseDown:(NSEvent*) event atPos: (MiscCoord_V) pos;
  44. - (void) mouseDragged:(NSEvent*) event atPos: (MiscCoord_V) pos;
  45. - (void) mouseUp:(NSEvent*) event atPos: (MiscCoord_V) pos;
  46.  
  47. @end
  48.  
  49. #endif // __MiscHighlightTracker_h
  50.