Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local int window = wgt_window_create(480, 96);
- local int layout = wgt_layout_create(window,
- "OOOOOOO#"
- "PUXYWHS#"
- "FRGGIIS"
- , 2, 2);
- local int cbbobj, bpause, bfreeze, bundo, bredo, bstop, tegx, tegy, tegw, tegh, cbgrid, cbiso;
- wgt_layout_insert_widget(layout, "O", cbbobj = wgt_combobox_create("object0|object1|object2|cat|hat|box|wall|toilet|cloud|mushroom"));
- wgt_layout_insert_widget(layout, "P", bpause = wgt_button_create("Pause"));
- wgt_layout_insert_widget(layout, "F", bfreeze = wgt_button_create("Freeze"));
- wgt_layout_insert_widget(layout, "U", bundo = wgt_button_create("Undo"));
- wgt_layout_insert_widget(layout, "R", bredo = wgt_button_create("Redo"));
- wgt_layout_insert_widget(layout, "X", tegx = wgt_textline_create("X",3));
- wgt_layout_insert_widget(layout, "Y", tegy = wgt_textline_create("Y",3));
- wgt_layout_insert_widget(layout, "W", tegw = wgt_textline_create("W",3));
- wgt_layout_insert_widget(layout, "H", tegh = wgt_textline_create("H",3));
- wgt_layout_insert_widget(layout, "G", cbgrid = wgt_checkbox_create("Grid"));
- wgt_layout_insert_widget(layout, "I", cbiso = wgt_checkbox_create("Iso"));
- wgt_layout_insert_widget(layout, "S", bstop = wgt_button_create("Stop"));
- wgt_window_show(window);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement