home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / PerformanceTuning / VisibleView-01 / VisibleOne.h < prev    next >
Text File  |  1991-10-18  |  1KB  |  67 lines

  1. //
  2. //    A Visible View
  3. //    Randy Nelson—Copyright NeXT 1990
  4. //    Not for release or reuse
  5. //
  6. #import <appkit/View.h>
  7.  
  8. @interface VisibleOne:View
  9. {
  10. //outlets
  11.     id    scaleX;
  12.     id    translateY;
  13.     id    vitalMatrix;
  14.     id    translateX;
  15.     id    scaleY;
  16.     id frameX;
  17.     id frameY;
  18.     id frameWidth;
  19.     id frameHeight;
  20.     id compositeIndicator;
  21.     id drawGridIndicator;
  22.     id transparencyIndicator;
  23.     id appender;
  24. //bitmap for a picture, the SubViewFramer (our eventual SuperView)
  25.     id myPic, newSuperView;
  26.     char buffer[100];
  27. }
  28.  
  29. //outlet initializers
  30. - setAppender:anObject;
  31. - setScaleX:anObject;
  32. - setTranslateY:anObject;
  33. - setVitalMatrix:anObject;
  34. - setTranslateX:anObject;
  35. - setScaleY:anObject;
  36. - setFrameX:anObject;
  37. - setFrameY:anObject;
  38. - setFrameWidth:anObject;
  39. - setFrameHeight:anObject;
  40. - setCompositeIndicator:anObject;
  41. - setDrawGridIndicator:anObject;
  42. - setTransparencyIndicator:anObject;
  43. //action methods
  44. - setSelfOrigin:sender;
  45. - setSelfScale:sender;
  46. - setSelfRotation:sender;
  47. - frameMove:sender;
  48. - frameRotate:sender;
  49. - frameChangeSize:sender;
  50. - newDisplayState:sender;
  51. //local methods
  52. - updateVitals;
  53. - (BOOL)wantsTransparency;
  54. - setTrackingRect;
  55. - drawGrid;
  56. - drawSomePS;
  57. - tripath;
  58. - cirpath;
  59. - recstroke;
  60. - recfill;
  61. - rec;
  62. - cir;
  63. - tri;
  64. - mass;
  65.  
  66. @end
  67.