home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2007 September / maximum-cd-2007-09.iso / Assets / data / AssaultCube_v0.93.exe / source / xcode / ConsoleView.h < prev    next >
Encoding:
Text File  |  2007-06-04  |  384 b   |  26 lines

  1. #import <Cocoa/Cocoa.h>
  2.  
  3. /*
  4.  * A basic console view
  5.  */
  6.  
  7. @interface ConsoleView : NSView {
  8. @private
  9.     NSMutableArray *array;
  10.     NSDictionary *attr;
  11.     BOOL endScroll;
  12. }
  13. - (void)scrollToEnd:(BOOL)enable;
  14.  
  15. /*
  16.  * Append the given line
  17.  */
  18. - (void)appendLine:(NSString*)line;
  19.  
  20. /*
  21.  * Append multiple lines, skip blank ones
  22.  */
  23. - (void)appendText:(NSString*)text;
  24.  
  25. @end
  26.