Vuo  2.0.0
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 
36 - (void)enableTriggersWithTypedLine:(void (*)(VuoText))typedLine
37  typedWord:(void (*)(VuoText))typedWord
38  typedCharacter:(void (*)(VuoText))typedCharacter;
39 - (void)disableTriggers;
40 - (void)appendLine:(const char *)text;
41 
42 @end