1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import "gkscore.h"
#import "gksquartz.h"
#import "GKSView.h"
@interface GKSTerm : NSObject
{
@private
int num_windows;
int curr_win_id;
bool close_window[MAX_WINDOWS];
NSWindow *window[MAX_WINDOWS];
GKSView *view[MAX_WINDOWS];
NSPoint cascadingPoint;
}
- (IBAction)cascadeWindows:(id)sender;
- (void)setWindowPos:(NSWindow *)plotWindow;
- (void)keepOnDisplay:(NSNotification *)aNotification;
- (int)getNextWindowID;
- (void)windowWillClose:(NSNotification *)notification;
- (int)GKSQuartzCreateWindow;
- (void)GKSQuartzDraw:(int)win displayList:(id)displayList;
- (int)GKSQuartzIsAlive:(int)win;
- (void)GKSQuartzCloseWindow:(int)win;
- (gks_ws_state_t)GKSQuartzGetState:(int)win;
- (gks_locator_t)GKSQuartzGetLocator:(int)win;
@end
|