[BACK]Return to MyOutputWindowController.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / cfep

File: [local] / OpenXM / src / cfep / MyOutputWindowController.h (download)

Revision 1.3, Tue Mar 7 11:15:23 2006 UTC (18 years, 2 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, HEAD, DEB_REL_1_2_3-9
Changes since 1.2: +1 -0 lines

1. Added the following new OpenGL commands.
  cfep.glib_init_send("0; [glClearColor,0.0,0.5,0.5,0.1]");
/* GL_COLOR_BUFFER_BIT 0x4000,  = 16384
   GL_DEPTH_BUFFER_BIT  0x100
*/
  cfep.glib_init_send("0; [glClear,(int)16384]");
  cfep.glib_send("0; [glColor4f,1.0,0,0,0]");
  cfep.glib_send("0; [glRectf,-0.5,-0.1,0.5,0.1]");
  cfep.glib_send("0; [glFlush]");
  cfep.glib_send("0;meta_showListOfOglComm");
  meta_removeLast, meta_removeAll, meta_removeLastInit, meta_removeAllInit
2.  small improvement of the interface of "goto next line".

//
//  MyOutputWindowController.h
//  cfep
//
//  Created by nobuki on 06/01/25.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class MyDocument ;
enum actionType { FIND, REMOVE} ;

@interface MyOutputWindowController : NSWindowController {
  IBOutlet NSWindow *window;
  IBOutlet NSTextView *textViewOut;
  IBOutlet NSTextField *inputCounterField;
  
  int removable;
  int displayed;
  int winNo;
}

+(MyOutputWindowController *) sharedMyOutputWindowController: (MyDocument *) sender action: (enum actionType) a;
+(MyOutputWindowController *) sharedMyOutputWindowController: (MyDocument *)sender ;
-(id) init;
-(void) closeMyOutputWindow: (MyDocument *) md;
-(void) windowDidLoad;
-(void) dealloc;
-(BOOL) windowShouldClose: (NSWindow *)sender ;

-(void)changeWindowTitle: (NSString *)msg; 
-(void)outputStringToOutputWindow:(NSString *)msg;  
-(void)outputStringToOutputWindow:(NSString *)msg withColor: (NSColor *)color;  
-(void)insertText: (id) text;
-(void)clearOutputWindow;
-(void)printErrorMessageToOutputWindow:(NSString *)msg;  

-(void) printDocument: (id) sender; 




@end