quakeforge/tools/Forge/Headers/ZView.h

43 lines
684 B
C
Raw Normal View History

#import <AppKit/AppKit.h>
#import "mathlib.h"
extern id zview_i;
// zplane controls the objects displayed in the xyview
extern float zplane;
extern float zplanedir;
@interface ZView: NSView
{
float minheight, maxheight;
float oldminheight, oldmaxheight;
float topbound, bottombound; // for floor clipping
float scale;
vec3_t origin;
}
- clearBounds;
- getBounds: (float *)top :(float *)bottom;
2001-02-27 19:28:22 +00:00
- getPoint: (NSPoint) point;
- setPoint: (NSPoint) point;
- addToHeightRange: (float)height;
- newRealBounds;
- newSuperBounds;
- XYDrawSelf;
- (BOOL)XYmouseDown: (NSPoint *)pt;
2001-02-27 19:28:22 +00:00
- setXYOrigin: (NSPoint) point;
- setOrigin: (NSPoint *)pt scale: (float)sc;
@end