application/window.c

changeset 95
e92c72705da4
parent 94
7fdf1489b82f
child 97
5a3d27b8e6b0
equal deleted inserted replaced
94:7fdf1489b82f 95:e92c72705da4
85 ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back); 85 ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back);
86 ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward); 86 ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward);
87 } 87 }
88 88
89 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected, .varname = "path"); 89 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected, .varname = "path");
90
91 ui_progressspinner(obj, .value = wdata->progress); 90 ui_progressspinner(obj, .value = wdata->progress);
92 } 91 }
93 92
94 // main content 93 // main content
95 UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Name", UI_STRING_FREE, "Flags", UI_STRING, "Type", UI_STRING_FREE, "Last Modified", UI_STRING_FREE, "Size", -1); 94 UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Name", UI_STRING_FREE, "Flags", UI_STRING, "Type", UI_STRING_FREE, "Last Modified", UI_STRING_FREE, "Size", -1);

mercurial