wdata->tab2_types = ui_list_new(obj->ctx, NULL);
wdata->tab2_repositories = ui_list_new(obj->ctx, NULL);
+ // fill data
+
+
+
+ // UI
ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10, .fill = UI_ON) {
ui_tabview(obj, .hfill = TRUE, .hexpand = TRUE, .vfill = TRUE, .vexpand = TRUE) {
ui_tab(obj, "Groups") {
ui_hbox(obj, .fill = UI_OFF) {
ui_button(obj, .icon = UI_ICON_NEW_FOLDER);
ui_button(obj, .icon = UI_ICON_DELETE);
- ui_button(obj, .icon = "go-up");
- ui_button(obj, .icon = "go-down");
+ ui_button(obj, .icon = UI_ICON_GO_UP);
+ ui_button(obj, .icon = UI_ICON_GO_DOWN);
}
}
#define UI_ICON_DOCK_RIGHT ""
#define UI_ICON_GO_BACK "go-previous"
#define UI_ICON_GO_FORWARD "go-next"
+#define UI_ICON_GO_UP "go-up"
+#define UI_ICON_GO_DOWN "go-down"
#endif /* UI_GTK */
#define UI_ICON_DOCK_RIGHT "DockRight"
#define UI_ICON_GO_BACK "Back"
#define UI_ICON_GO_FORWARD "Forward"
+#define UI_ICON_GO_UP "Up"
+#define UI_ICON_GO_DOWN "" // TODO: implement workaround for missing down symbol
#endif /* UI_WINUI */