application/main.c

changeset 816
f5690594b240
parent 815
7ddf5fb7ec2a
child 818
8185cd761897
equal deleted inserted replaced
815:7ddf5fb7ec2a 816:f5690594b240
1129 ui_newline(obj); 1129 ui_newline(obj);
1130 ui_button(obj, .label = "Test 2-1", .margin_top = 10); 1130 ui_button(obj, .label = "Test 2-1", .margin_top = 10);
1131 ui_button(obj, .label = "Test 2-2", .hfill = TRUE, .hexpand = TRUE, .margin_top = 20); 1131 ui_button(obj, .label = "Test 2-2", .hfill = TRUE, .hexpand = TRUE, .margin_top = 20);
1132 ui_button(obj, .label = "Test 2-3", .margin_top = 30); 1132 ui_button(obj, .label = "Test 2-3", .margin_top = 30);
1133 ui_newline(obj); 1133 ui_newline(obj);
1134 ui_button(obj, .label = "Test 3", .colspan = 3, .fill = TRUE); 1134 ui_button(obj, .label = "Test 3XX", .colspan = 3, .fill = TRUE);
1135 ui_show(obj); 1135 ui_show(obj);
1136 } 1136 }
1137 1137
1138 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { 1138 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {
1139 ui_init("app1", 0, NULL); 1139 ui_init("app1", 0, NULL);

mercurial