-1:000000000000 | 0:804d8803eade |
---|---|
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 }; |