File: ConsoleView.h

package info (click to toggle)
assaultcube-data 1.0.4%2Brepack1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 60,024 kB
  • ctags: 15,165
  • sloc: cpp: 34,920; ansic: 20,515; xml: 3,864; sh: 3,408; objc: 975; cs: 350; makefile: 146
file content (25 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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