mac updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1126 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
/*
|
||||
* A basic console view
|
||||
*/
|
||||
|
||||
@interface ConsoleView : NSView {
|
||||
@private
|
||||
NSMutableArray *array;
|
||||
NSDictionary *attr;
|
||||
BOOL endScroll;
|
||||
}
|
||||
- (void)scrollToEnd:(BOOL)enable;
|
||||
|
||||
/*
|
||||
* Append the given line
|
||||
*/
|
||||
- (void)appendLine:(NSString*)line;
|
||||
|
||||
/*
|
||||
* Append multiple lines, skip blank ones
|
||||
*/
|
||||
- (void)appendText:(NSString*)text;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user