Move mac-ui into src/
This commit is contained in:
23
ext/mac-ui-macgap1-wrapper/src/MacGap/Classes/Window.h
Normal file
23
ext/mac-ui-macgap1-wrapper/src/MacGap/Classes/Window.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "WindowController.h"
|
||||
|
||||
@interface Window : NSObject{
|
||||
CGRect _oldRestoreFrame;
|
||||
}
|
||||
|
||||
@property (retain, nonatomic) WindowController *windowController;
|
||||
@property (nonatomic, retain) WebView *webView;
|
||||
|
||||
- (id) initWithWebView:(WebView *)view;
|
||||
- (void) open:(NSDictionary *)properties;
|
||||
- (void) move:(NSDictionary *)properties;
|
||||
- (void) resize:(NSDictionary *) properties;
|
||||
- (Boolean) isMaximized;
|
||||
- (CGFloat) getX;
|
||||
- (CGFloat) getY;
|
||||
- (void) maximize;
|
||||
- (void) restore;
|
||||
- (void) toggleFullscreen;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user