home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Educational / Julia / Source / DrawView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  958 b   |  44 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/appkit.h>
  5. #import <appkit/View.h>
  6.  
  7. #define PROC         void
  8. #define AND            &&
  9. #define OR             ||
  10. #define IS            ==
  11. #define IS_NOT        !=
  12. #define NOT            !
  13. #define MOD            %
  14.  
  15. @interface DrawView:View
  16. {
  17.     id    paramsForm;
  18.     id    popUpButton;
  19.     id     stopButton;
  20.     NXRect stopRect;
  21.     BOOL running;
  22.     float xc, yc;                    // coords of c
  23.     float xmax, xmin, ymax, ymin;    // sides of window
  24.     float large;                    // sq of escape radius
  25.     int pixelSize;                    // pixel sixe for printing
  26.     int iterates;                    // max iteration power
  27.     int colors;                        // no of shades of contours
  28. }
  29.  
  30. + newFrame:(NXRect *)rect;
  31. - drawSelf:(NXRect *)rect :(int)count;
  32. - (PROC)drawline:(float)col :(float)p1 :(float) p2 :(float) q;
  33. - (PROC)initialValues;
  34. - (BOOL) continue;
  35. - setParamsForm:anObject;
  36. - setPopUpButton:anObject;
  37. - setStopButton:anObject;
  38. - getParams;
  39. - start:sender;
  40. - pixelSize:sender;
  41. - (float)pixelCol:(float)x :(float)y;
  42.  
  43. @end
  44.