summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
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;