Mon, 23 Jan 2017 10:50:22 +0100
adds drawingarea (WPF)
#pragma once #include "toolkit.h" typedef void(*UIdrawfunc)(void *gc, void *event, int width, int height); public ref class DrawEventWrapper { public: UIdrawfunc callback = NULL; void *eventdata = NULL; void *gc; Action<int,int> ^action; DrawEventWrapper(void *gc, UIdrawfunc callback, void *eventdata); void Callback(int width, int height); };