Vuo  2.3.2
VuoWindowTextInternal.h
Go to the documentation of this file.
1 
10 #include "node.h"
11 
12 #include "VuoMacOSSDKWorkaround.h"
13 #import <AppKit/AppKit.h>
14 
18 @interface VuoWindowTextInternal : NSWindow <NSWindowDelegate, NSTextViewDelegate>
19 {
20  BOOL triggersEnabled;
21  void (* typedLine)(VuoText);
22  void (* typedWord)(VuoText);
23  void (* typedCharacter)(VuoText);
24 
25  NSMenu *oldMenu;
26 }
27 
28 @property(retain) NSTextView *textView;
29 @property(retain) NSScrollView *scrollView;
30 @property(retain) NSFont *textFont;
31 @property(retain) NSMenuItem *editCopyMenuItem;
32 @property(retain) NSMenuItem *editSelectAllMenuItem;
33 @property(retain) NSMenuItem *editClearMenuItem;
34 
35 - (void)enableTriggersWithTypedLine:(void (*)(VuoText))typedLine
36  typedWord:(void (*)(VuoText))typedWord
37  typedCharacter:(void (*)(VuoText))typedCharacter;
38 - (void)disableTriggers;
39 - (void)appendLine:(const char *)text;
40 - (void)clear;
41 
42 @end