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

Public Member Functions

 OE_commandDisplay ()
 
 OE_commandDisplay (OE_document *document, OE_controller *controller)
 
virtual ~OE_commandDisplay ()
 
virtual void key (int key, int scancode, int action, int mods)
 
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 scroll (double xoffset, double yoffset)
 
virtual void resize (int width, int height)
 
virtual void showAll ()
 move and zoom to see the entire document
 

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_commandDisplay::OE_commandDisplay ( )

Default constructor

OE_commandDisplay::~OE_commandDisplay ( )
virtual

Default destructor

Member Function Documentation

bool OE_commandDisplay::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: