openEmbroider  0.1
an open source embroidery software
OE_editDisplay Class Reference
Inheritance diagram for OE_editDisplay:
OE_display

Public Member Functions

 OE_editDisplay ()
 
 OE_editDisplay (OE_document document)
 
virtual ~OE_editDisplay ()
 
virtual void showAll ()
 move and zoom to see the entire document
 
virtual void scroll (double xoffset, double yoffset)
 
bool draw ()
 draw the document on screen More...
 
- Public Member Functions inherited from OE_display
 OE_display ()
 
 OE_display (OE_document *document, OE_controller *controller)
 
virtual ~OE_display ()
 
bool setDocument (OE_document *document)
 draw the document on screen More...
 
bool setController (OE_controller *controller)
 
virtual void mouse_Pos (double x, double y)
 
virtual void mouse_Button (int button, int action, int mods)
 
virtual void resize (int width, int height)
 
virtual void key (int key, int scancode, int action, int mods)
 

Additional Inherited Members

- Static Public Attributes inherited from OE_display
static float cx
 
static float cy = 0.0
 
static float zoom = 1.0
 
static int mouseX
 
static int mouseY
 
static int mouseXInit
 
static int mouseYInit = -1
 
static bool pan = false
 
static int width
 
static int height = 0
 
- Protected Attributes inherited from OE_display
GLFWwindow * window
 
const GLFWvidmode * mode
 
OE_documentdocument = NULL
 
OE_controllercontroller = NULL
 

Constructor & Destructor Documentation

OE_editDisplay::OE_editDisplay ( )

Default constructor

OE_editDisplay::~OE_editDisplay ( )
virtual

Default destructor

Member Function Documentation

bool OE_editDisplay::draw ( )
virtual

draw the document on screen

Returns
true if all is ok

Implements OE_display.


The documentation for this class was generated from the following files: