41 #ifndef _MGEFF_EFFECTORSOURCE_H_ 42 #define _MGEFF_EFFECTORSOURCE_H_ 44 #include <minigui/common.h> 45 #include <minigui/minigui.h> 46 #include <minigui/gdi.h> 47 #include <minigui/window.h> MGEFF_EXPORT HDC mGEffGetSourceDC(MGEFF_SOURCE handle)
Get HDC from the source handle.
MGEFF_EXPORT MGEFF_SOURCE mGEffCreateSourceEx(HDC hdc, MGEFF_DELETEHDC_CB cb)
Creates a source ready to be used by a effector and privies the source with a callback to delete DC w...
void(* MGEFF_DELETEHDC_CB)(HDC hdc)
delete source dc
Definition: mgeff-effector-source.h:60
#define MGEFF_EXPORT
Definition: mgeff-common.h:52
MGEFF_EXPORT MGEFF_SOURCE mGEffCreateSource(HDC hdc)
Creates a source ready to be used by a effector.
MGEFF_DECLARE_HANDLE(MGEFF_SOURCE)