Multiplot  0.5.5
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
multiplot::Multiplot_base Class Reference

#include <multiplot.h>

Inheritance diagram for multiplot::Multiplot_base:
multiplot::Multiplot

Public Member Functions

 Multiplot_base (int x, int y, int w, int h, const std::wstring &ttitle, bool fullscreen)
 
void show ()
 
bool check ()
 
unsigned int w ()
 
unsigned int h ()
 
bool valid ()
 
void valid (bool v)
 
virtual void draw ()
 
void set_caption (const std::wstring &t)
 
void redraw ()
 

Protected Member Functions

LRESULT WndProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
 
bool CreateGLWindow (int x, int y, int width, int height, const std::wstring &title, BYTE bits=0, bool fullscreenflag=false)
 
void DestroyGLWindow ()
 

Static Protected Member Functions

static LRESULT CALLBACK StaticWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static LRESULT CALLBACK window_handler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Protected Attributes

unsigned int width
 
unsigned int height
 
bool valid_
 
bool active
 
bool fullscreen
 
HDC hDC
 
HGLRC hRC
 
HWND hWnd
 
HINSTANCE hInstance
 

Detailed Description

class Multiplot_base is for low level Window handling and creates an OpenGL Context.

Constructor & Destructor Documentation

◆ Multiplot_base()

multiplot::Multiplot_base::Multiplot_base ( int  x,
int  y,
int  w,
int  h,
const std::wstring &  ttitle,
bool  fullscreen 
)
inline

this constructor tells multiplot where to put the window on the desktop in pixel-coordinates(x,y) and with wich width and height (w,h)

Member Function Documentation

◆ redraw()

void multiplot::Multiplot_base::redraw ( )
inline

call redraw to refresh the window and to redraw all traces.

◆ show()

void multiplot::Multiplot_base::show ( )
inline

call show() to make the window visible only needed if using FLTK as window-creation backend.


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