Files
Cocos2d-Lua-Community/tools/runner/proj.mac/ConsoleWindowController.h
2020-03-04 21:55:02 +08:00

27 lines
522 B
Objective-C

#import <Cocoa/Cocoa.h>
@interface ConsoleWindowController : NSWindowController
{
NSTextView *textView;
IBOutlet NSButton *checkScroll;
IBOutlet NSButton *topCheckBox;
NSMutableArray *linesCount;
NSFileHandle *readHandle;
NSFileHandle *fileHandle;
}
@property (assign) IBOutlet NSTextView *textView;
- (void)openLogToFile:(const char *)path;
- (void) trace:(NSString*)msg;
- (IBAction)onClear:(id)sender;
- (IBAction)onScrollChange:(id)sender;
- (IBAction)onTopChange:(id)sender;
@end