ui/wpf/UIwrapper/UIwrapper/graphics.h

changeset 137
c9b8b9e0cfe8
equal deleted inserted replaced
136:1df2fb3d079c 137:c9b8b9e0cfe8
1 #pragma once
2
3 #include "toolkit.h"
4
5 typedef void(*UIdrawfunc)(void *gc, void *event, int width, int height);
6
7 public ref class DrawEventWrapper {
8 public:
9 UIdrawfunc callback = NULL;
10 void *eventdata = NULL;
11 void *gc;
12 Action<int,int> ^action;
13
14 DrawEventWrapper(void *gc, UIdrawfunc callback, void *eventdata);
15
16 void Callback(int width, int height);
17 };

mercurial