22 #ifndef OE_EDITDISPLAY_H
23 #define OE_EDITDISPLAY_H
28 #include "OE_document.h"
29 #include "OE_display.h"
30 #include <GLFW/glfw3.h>
45 virtual void scroll(
double xoffset,
double yoffset);
55 bool changeDpi =
true;
58 bool controls =
false;
64 static unsigned char lineColor[4] ;
67 static unsigned char controlLineColor[4] ;
70 static unsigned char controlPointColor[4] ;
73 static unsigned char controlStartPointColor[4] ;
76 static unsigned char stitchLineColor[4] ;
79 static unsigned char stitchPointColor[4] ;
82 static unsigned char stitchStartPointColor[4] ;
90 bool drawCurveControl(
OE_curve * curve);
95 #endif // OE_EDITDISPLAY_H
virtual ~OE_editDisplay()
Definition: OE_editDisplay.cpp:55
bool draw()
draw the document on screen
Definition: OE_editDisplay.cpp:102
Definition: OE_display.h:34
OE_editDisplay()
Definition: OE_editDisplay.cpp:47
Definition: OE_stitchs.h:31
Definition: OE_curve.h:30
Definition: OE_document.h:32
virtual void showAll()
move and zoom to see the entire document
Definition: OE_editDisplay.cpp:77
Definition: OE_utils.h:28
Definition: OE_editDisplay.h:32