52edc4d053
This is working towards making a simple example part of the buildbot compile step and removing SkExamples from the experimental directory. This works on Mac, Windows, and Linux but isn't complete for Android, ChromeOS and iOS. Review URL: https://codereview.chromium.org/886413004
28 lines
665 B
Objective-C
28 lines
665 B
Objective-C
|
|
/*
|
|
* Copyright 2011 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "SkSampleNSView.h"
|
|
#import "SkOptionsTableView.h"
|
|
@interface HelloWorldDelegate : NSObject <NSApplicationDelegate> {
|
|
NSWindow* fWindow;
|
|
SkSampleNSView* fView;
|
|
SkOptionsTableView* fOptions;
|
|
}
|
|
|
|
@property (assign) IBOutlet NSWindow* fWindow;
|
|
@property (assign) IBOutlet SkSampleNSView* fView;
|
|
@property (assign) IBOutlet SkOptionsTableView* fOptions;
|
|
|
|
- (IBAction)toiPadSize:(id)sender;
|
|
|
|
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender;
|
|
|
|
@end
|