ui/winui/window.cpp

branch
newapi
changeset 374
eae5d6623fd3
parent 373
2eede3d98aba
equal deleted inserted replaced
373:2eede3d98aba 374:eae5d6623fd3
197 obj->window = window_data; 197 obj->window = window_data;
198 198
199 return obj; 199 return obj;
200 } 200 }
201 201
202 UIEXPORT UiObject* ui_dialog_window_create(UiObject *parent, UiDialogWindowArgs args) {
203 return NULL;
204 }
205
202 void ui_window_size(UiObject *obj, int width, int height) { 206 void ui_window_size(UiObject *obj, int width, int height) {
203 UIWINDOW win = obj->wobj; 207 UIWINDOW win = obj->wobj;
204 if (win) { 208 if (win) {
205 winrt::Windows::Graphics::SizeInt32 wsize; 209 winrt::Windows::Graphics::SizeInt32 wsize;
206 wsize.Width = width; 210 wsize.Width = width;

mercurial