blob: f721376e0b2f0c356e3c5a64b2e486c891d3db97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|