16#define WM_2DVIEWER_CLOSED (WM_USER + 0x0001)
void Direct2dViewer_showNewBitmap(void *D2dV, void *addr, UINT width, UINT height)
Show a new bitmap in 2d viewer.
Definition Direct2dViewer_c.cpp:46
UINT16 Direct2dViewer_getGammaWhite(void *D2dV)
return gamma value white
Definition Direct2dViewer_c.cpp:89
void Direct2dViewer_start2dViewer(void *D2dV, HWND hWndParent, void *bitmapAddr, UINT width, UINT height)
Starts 2d viewer with a initial bitmap. Use this to start 2d viewer. Call constructor before.
Definition Direct2dViewer_c.cpp:35
void Direct2dViewer_setGammaValue(void *D2dV, UINT16 white, UINT16 black)
Set gamma value.
Definition Direct2dViewer_c.cpp:78
HWND Direct2dViewer_getWindowHandler(void *D2dV)
Returns the window handler of 2d viewer.
Definition Direct2dViewer_c.cpp:68
void Direct2dViewer_delete(void *D2dV)
Release resources.
Definition Direct2dViewer_c.cpp:24
void * Direct2dViewer_new()
Initialize members.
Definition Direct2dViewer_c.cpp:15
UINT16 Direct2dViewer_getGammaBlack(void *D2dV)
return gamma value black
Definition Direct2dViewer_c.cpp:99
void Direct2dViewer_repaintWindow(void *D2dV)
Reload the displayed bitmap in 2d viewer.
Definition Direct2dViewer_c.cpp:57