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