quakeforge/tools/Forge/Headers/Brush.h
Jeff Teunissen 25f8a50ef4 Okay, that was stupid. ProjectCenter isn't good enough yet, so I'm back to
writing makefiles by hand.

Add a makefile preamble to set up our flags.

Compartmentalize all the headers into a Headers/ dir.
2001-02-27 21:18:27 +00:00

55 lines
949 B
Objective-C

#import <appkit/appkit.h>
#import "SetBrush.h"
#import "EditWindow.h"
extern id brush_i;
extern BOOL brushdraw; // YES when drawing cutbrushes and ents
@interface Brush : SetBrush
{
id cutbrushes_i;
id cutentities_i;
boolean updatemask[MAXBRUSHVERTEX];
BOOL dontdraw; // for modal instance loops
BOOL deleted; // when not visible at all
}
- init;
- initFromSetBrush: br;
- deselect;
- (BOOL)isSelected;
- (BOOL)XYmouseDown: (NXPoint *)pt; // return YES if brush handled
- (BOOL)ZmouseDown: (NXPoint *)pt; // return YES if brush handled
- _keyDown:(NXEvent *)theEvent;
- (NXPoint)centerPoint; // for camera flyby mode
- InstanceSize;
- XYDrawSelf;
- ZDrawSelf;
- CameraDrawSelf;
- flipHorizontal: sender;
- flipVertical: sender;
- rotate90: sender;
- makeTall: sender;
- makeShort: sender;
- makeWide: sender;
- makeNarrow: sender;
- placeEntity: sender;
- cut: sender;
- copy: sender;
- addBrush;
@end