2020-12-29 12:10:52 -08:00
|
|
|
#import <AppKit/AppKit.h>
|
2020-11-14 13:45:05 -08:00
|
|
|
|
|
|
|
@interface PlotView: NSView {
|
|
|
|
void *browser;
|
2020-11-25 12:15:47 -08:00
|
|
|
BOOL reallyDraw;
|
2020-11-30 12:02:41 -08:00
|
|
|
BOOL isDragging;
|
|
|
|
NSPoint dragStart;
|
2020-12-01 11:47:41 -08:00
|
|
|
NSSize lastSize;
|
2020-12-05 07:43:34 -08:00
|
|
|
BOOL showCaret;
|
|
|
|
NSRect caretRect;
|
2020-12-06 02:32:12 -08:00
|
|
|
BOOL didResize;
|
2020-11-14 13:45:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
-(void)setBrowser: (void*)aBrowser;
|
2020-12-05 07:43:34 -08:00
|
|
|
-(void)placeCaretAtX: (int)x y: (int)y height: (int)height;
|
|
|
|
-(void)removeCaret;
|
2021-02-10 11:15:59 -08:00
|
|
|
-(void)reload: (id)sender;
|
|
|
|
-(void)stopReloading: (id)sender;
|
2022-02-10 00:54:37 -08:00
|
|
|
-(void)showDropdownMenuWithOptions: (NSArray*)options atLocation: (NSPoint)location control: (struct form_control*)control;
|
2022-04-19 01:23:31 -07:00
|
|
|
-(void)zoomIn: (id)sender;
|
|
|
|
-(void)zoomOut: (id)sender;
|
|
|
|
-(void)resetZoom: (id)sender;
|
2020-11-14 13:45:05 -08:00
|
|
|
@end
|