ui/wpf/UIwrapper/UIwrapper/container.cpp

changeset 136
1df2fb3d079c
parent 135
b9dc9cdfa23a
child 138
d781436e2490
equal deleted inserted replaced
135:b9dc9cdfa23a 136:1df2fb3d079c
45 UI_EXPORT void __stdcall UIlayout_vexpand(gcroot<UI::Container^> *container, int expand) { 45 UI_EXPORT void __stdcall UIlayout_vexpand(gcroot<UI::Container^> *container, int expand) {
46 UI::Container ^ct = *container; 46 UI::Container ^ct = *container;
47 ct->Layout->Vexpand = expand != 0; 47 ct->Layout->Vexpand = expand != 0;
48 } 48 }
49 49
50 UI_EXPORT void __stdcall UIlayout_gridwidth(gcroot<UI::Container^> *container, int width) {
51 UI::Container ^ct = *container;
52 ct->Layout->GridWidth = width;
53 }
54
50 UI_EXPORT void __stdcall UIlayout_newline(gcroot<UI::Container^> *container) { 55 UI_EXPORT void __stdcall UIlayout_newline(gcroot<UI::Container^> *container) {
51 UI::Container ^ct = *container; 56 UI::Container ^ct = *container;
52 ct->Layout->NewLine = true; 57 ct->Layout->NewLine = true;
53 } 58 }
54 59

mercurial