application/window.c

changeset 33
cdeb0dc47ef5
parent 26
40d6af793c1a
child 34
98e041f2f9a2
equal deleted inserted replaced
32:e5f4d8af567e 33:cdeb0dc47ef5
55 55
56 wdata->progress = ui_int_new(obj->ctx, "progress"); 56 wdata->progress = ui_int_new(obj->ctx, "progress");
57 57
58 // navigation bar 58 // navigation bar
59 ui_hbox(obj, .fill = UI_OFF, .margin = 8) { 59 ui_hbox(obj, .fill = UI_OFF, .margin = 8) {
60 ui_button(obj, .icon = "Back", .onclick = action_go_back); 60 ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back);
61 ui_button(obj, .icon = "Forward", .onclick = action_go_forward); 61 ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward);
62 62
63 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected ,.varname = "path"); 63 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected ,.varname = "path");
64 64
65 ui_progressspinner(obj, .value = wdata->progress); 65 ui_progressspinner(obj, .value = wdata->progress);
66 } 66 }

mercurial