ui/wpf/UIwrapper/UIwrapper/window.cpp

changeset 78
135920fe441b
child 82
0cdb8089a29f
equal deleted inserted replaced
77:bc0ed99e49c7 78:135920fe441b
1
2
3 #include "stdafx.h"
4 #include <stdio.h>
5
6 #include "window.h"
7
8 #using "UIcore.dll"
9
10 UI_EXPORT void* UIwindow(char *title, void *uiobj) {
11 UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title));
12 return ObjectToPtr(window);
13 }

mercurial