mirror of
https://github.com/u0u0/Cocos2d-Lua-Community.git
synced 2026-05-08 06:38:29 +08:00
27 lines
522 B
Objective-C
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
|
|
|
|
|
|
|