summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-01-21 18:14:40 +0000
committerComment <tim@gray.(none)>2013-01-21 18:14:40 +0000
commitd98b38306a9273dbdd6621ca0eac8b8bdba9b749 (patch)
tree11cac117c329d4a302294e5ac3baf32c7da1487a /src/testApp.h
parent25fc9816fa59f0ddf14b298988ff35bd1749fe61 (diff)
nearly workingHEADmaster
Diffstat (limited to 'src/testApp.h')
-rwxr-xr-xsrc/testApp.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testApp.h b/src/testApp.h
index 30dc033..b51e215 100755
--- a/src/testApp.h
+++ b/src/testApp.h
@@ -40,12 +40,15 @@ class editorWindow: public ofxFensterListener{
void mousePressed(int x, int y, int button);
void mouseReleased(int x, int y, int button);
void mouseDragged(int x, int y, int button);
- void windowResized(int w, int h); //doesn't seem to work normally
string getText();
private:
- void drawScreen();
int w,h;
+ bool scrollY,scrollX;
+ int scrollPosY,scrollPosX;
+ bool scrollSelY,scrollSelX;
ofFbo screen;
+ void drawScreen();
+ void screenResize();
texPt clickPos(int x,int y);
int clickX,clickY;
void setClipboard(string text);
@@ -53,6 +56,7 @@ class editorWindow: public ofxFensterListener{
void insertText(string text);
void deleteSelection();
vector<string> text;
+ int maxLineLength;
int insX,insY;
texPt insertionPoint;
texPt selectionStart;