mod-manager/data/resources/ui/windows/main/pages/games_and_mods.blp
Tine Jozelj 83c478cfd2
Some checks failed
CI / Rustfmt (push) Failing after 2m10s
CI / Flatpak (push) Failing after 10m55s
feat: loading images
Need to fix the threads as currently it locks the app while loading the images.
2024-01-07 22:35:39 +01:00

62 lines
1.5 KiB
Text

using Gtk 4.0;
using Adw 1;
template $GamesAndMods: Adw.Bin {
Adw.NavigationSplitView {
sidebar: Adw.NavigationPage {
title: "Games";
tag: "sidebar";
Adw.ToolbarView {
[top]
Adw.HeaderBar {
[end]
Button add_new_game {
icon-name: "list-add-symbolic";
}
Button remove_all_games {
icon-name: "list-remove-symbolic";
}
}
content: ListBox games_list {
styles ["navigation-sidebar"]
};
}
};
content: Adw.NavigationPage{
title: "Mods";
tag: "content";
Adw.ToolbarView {
[top]
Adw.HeaderBar {
[title]
SearchEntry search {
}
}
content: Adw.Clamp {
orientation: vertical;
Label title {
label: "Mods";
styles ["title-1"]
}
Adw.Carousel {
}
Adw.CarouselIndicatorDots {}
ScrolledWindow {
vexpand: true;
ListBox mods_list {
}
}
};
}
};
}
}