This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/mac-ui-macgap1-wrapper/src/MacGap/Classes/Window.h

24 lines
542 B
C
Raw Normal View History

#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