skia2/example/mac/HelloWorldDelegate.h

28 lines
665 B
C
Raw Normal View History

/*
* 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