ZView.h 677 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #import <appkit/appkit.h>
  2. #import "mathlib.h"
  3. extern id zview_i;
  4. // zplane controls the objects displayed in the xyview
  5. extern float zplane;
  6. extern float zplanedir;
  7. @interface ZView : View
  8. {
  9. float minheight, maxheight;
  10. float oldminheight, oldmaxheight;
  11. float topbound, bottombound; // for floor clipping
  12. float scale;
  13. vec3_t origin;
  14. }
  15. - clearBounds;
  16. - getBounds: (float *)top :(float *)bottom;
  17. - getPoint: (NXPoint *)pt;
  18. - setPoint: (NXPoint *)pt;
  19. - addToHeightRange: (float)height;
  20. - newRealBounds;
  21. - newSuperBounds;
  22. - XYDrawSelf;
  23. - (BOOL)XYmouseDown: (NXPoint *)pt;
  24. - setXYOrigin: (NXPoint *)pt;
  25. - setOrigin: (NXPoint *)pt scale: (float)sc;
  26. @end