diff options
Diffstat (limited to 'src/testApp.h')
| -rwxr-xr-x | src/testApp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testApp.h b/src/testApp.h index 6c7ccf2..dde4502 100755 --- a/src/testApp.h +++ b/src/testApp.h @@ -29,7 +29,6 @@ class testApp : public ofxFensterListener { void gotMessage(ofMessage msg); editorWindow *editorWin; - }; class editorWindow: public ofxFensterListener{ @@ -39,11 +38,16 @@ class editorWindow: public ofxFensterListener{ void draw(); 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); private: vector<string> text; texPt insertionPoint; texPt selectionStart; texPt selectionEnd; bool selected; + int clickX,clickY; }; |
