Return to MyOutputWindowController.h CVS log | 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, 6 months ago) by takayama
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