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 } |