home *** CD-ROM | disk | FTP | other *** search
/ Superpower (Alt) / SUPERPOWER.iso / q / source / brush.h next >
Encoding:
C/C++ Source or Header  |  1996-08-08  |  949 b   |  56 lines

  1. #import <appkit/appkit.h>
  2. #import "SetBrush.h"
  3. #import "EditWindow.h"
  4.  
  5. extern    id    brush_i;
  6.  
  7. extern    BOOL    brushdraw;            // YES when drawing cutbrushes and ents
  8.  
  9. @interface Brush : SetBrush
  10. {
  11.     id            cutbrushes_i;
  12.     id            cutentities_i;
  13.     boolean        updatemask[MAXBRUSHVERTEX];
  14.     BOOL        dontdraw;                // for modal instance loops    
  15.     BOOL        deleted;                // when not visible at all    
  16. }
  17.  
  18. - init;
  19.  
  20. - initFromSetBrush: br;
  21.  
  22. - deselect;
  23. - (BOOL)isSelected;
  24.  
  25. - (BOOL)XYmouseDown: (NXPoint *)pt;        // return YES if brush handled
  26. - (BOOL)ZmouseDown: (NXPoint *)pt;        // return YES if brush handled
  27.  
  28. - _keyDown:(NXEvent *)theEvent;
  29.  
  30. - (NXPoint)centerPoint;                        // for camera flyby mode
  31.  
  32. - InstanceSize;
  33. - XYDrawSelf;
  34. - ZDrawSelf;
  35. - CameraDrawSelf;
  36.  
  37. - flipHorizontal: sender;
  38. - flipVertical: sender;
  39. - rotate90: sender;
  40.  
  41. - makeTall: sender;
  42. - makeShort: sender;
  43. - makeWide: sender;
  44. - makeNarrow: sender;
  45.  
  46. - placeEntity: sender;
  47.  
  48. - cut: sender;
  49. - copy: sender;
  50.  
  51. - addBrush;
  52.  
  53. @end
  54.  
  55.  
  56.