diff options
Diffstat (limited to 'src/testApp.h')
| -rwxr-xr-x | src/testApp.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/testApp.h b/src/testApp.h index dde4502..52cd191 100755 --- a/src/testApp.h +++ b/src/testApp.h @@ -39,15 +39,21 @@ class editorWindow: public ofxFensterListener{ void keyPressed(int key); void keyReleased(int key); void mousePressed(int x, int y, int button); - void mouseReleased(int x, int y, int button); - void mouseDragged(int x, int y, int button); - texPt clickPos(int x,int y); + void mouseReleased(int x, int y, int button); + void mouseDragged(int x, int y, int button); + string getText(); private: - vector<string> text; + texPt clickPos(int x,int y); + void setClipboard(string text); + string getSelection(); + void insertText(string text); + void deleteSelection(); + vector<string> text; texPt insertionPoint; texPt selectionStart; - texPt selectionEnd; - bool selected; + texPt selectionEnd; + bool selected,changed; + string output; int clickX,clickY; }; |
