home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / ClassBuilder / Source / GlyphView.h < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.0 KB  |  32 lines

  1.   #import <appkit/View.h>
  2.   #import "Glyph.h"
  3. @interface GlyphView: View
  4. { id fGView, bGView, scrollView ;
  5.   Glyph *rootGlyph, *targetGlyph, *superGlyph ;
  6.   int fGGState, bGGState ;
  7.   NXRect targetFrame ; // targetGlyph's frame in my coord sys
  8.   NXRect clipRect ;    // clipping rectangle around targetGlyph
  9.   NXRect visibleRect ; // visible portion of rootGlyph
  10.   NXPoint mouseOffset ; // distance from mouse hit to target's origin
  11.   BOOL rootIsTarget, isAWindow ;
  12. }
  13. + glyphViewList ;
  14. -blowUp ;
  15. -clipRect: (NXRect *) aRect toGlyph: (Glyph *) aGlyph ;
  16. -convertToScreen: (NXPoint *) aPnt ;
  17. -drawSelf:(const NXRect *)rects :(int)rectCount ;
  18. - handOff: (NXPoint *) aPnt ;
  19. - mouseDown: (NXEvent *) anEvent ;
  20. - mouseDragged: (NXEvent *) anEvent ;
  21. - mouseUp: (NXEvent *) anEvent ;
  22. - newTarget: (Glyph *) tg ;
  23. - receive: (Glyph *) aGlyt at: (NXPoint *) aPnt  ;
  24. - rightMouseDown: (NXEvent *) anEvent ;
  25. - setScrollView: anObject ;
  26. - setup ;
  27. - rightMouseDragged: (NXEvent *) anEvent ;
  28. - rightMouseUp: (NXEvent *) anEvent ;
  29. - windowDidResize: sender ;
  30. - windowWillClose: sender ;
  31. @end
  32.