sleepy-launcher/ui/preferences.blp
Observer KRypt0n_ baca5a787f
Init commit
2022-06-28 23:59:20 +02:00

310 lines
9.2 KiB
Text

using Gtk 4.0;
using Adw 1;
Gtk.Box preferences {
orientation: vertical;
Adw.HeaderBar {
title-widget: Adw.WindowTitle {
title: "Preferences";
};
Gtk.Button preferences_go_back {
icon-name: "go-previous-symbolic";
halign: start;
}
}
Adw.Flap {
vexpand: true;
flap: Gtk.StackSidebar {
width-request: 200;
stack: stack;
};
separator: Gtk.Separator {};
content: Gtk.Stack stack {
Gtk.StackPage {
title: "General";
child: Adw.PreferencesPage {
Adw.PreferencesGroup {
title: "General";
Adw.ComboRow {
title: "Launcher language";
model: Gtk.StringList {
strings [
"English",
"German",
"Russian",
"French",
"Chinese"
]
};
}
}
Adw.PreferencesGroup {
title: "Status";
Adw.ActionRow {
title: "Game version";
Gtk.Label {
label: "2.7.0";
styles ["success"]
}
}
Adw.ActionRow {
title: "Patch version";
Gtk.Label {
label: "2.7.0";
styles ["success"]
}
}
Gtk.Box {
orientation: horizontal;
spacing: 8;
margin-top: 8;
Gtk.Button {
label: "Revert patch";
}
Gtk.Button {
label: "Re-apply patch";
}
}
}
Adw.PreferencesGroup {
title: "Wine version";
Adw.ExpanderRow {
title: "Wine-GE";
Adw.ActionRow {
title: "7-16";
}
Adw.ActionRow {
title: "7-15";
}
Adw.ActionRow {
title: "7-14";
}
Adw.ActionRow {
title: "7-12";
}
Adw.ActionRow {
title: "7-10";
}
Adw.ActionRow {
title: "7-9";
}
}
Adw.ExpanderRow {
title: "Proton-GE";
Adw.ActionRow {
title: "7-16";
}
Adw.ActionRow {
title: "7-15";
}
Adw.ActionRow {
title: "7-14";
}
Adw.ActionRow {
title: "7-12";
}
Adw.ActionRow {
title: "7-10";
}
Adw.ActionRow {
title: "7-9";
}
}
Adw.ExpanderRow {
title: "Lutris";
Adw.ActionRow {
title: "7-16";
}
Adw.ActionRow {
title: "7-15";
}
Adw.ActionRow {
title: "7-14";
}
Adw.ActionRow {
title: "7-12";
}
Adw.ActionRow {
title: "7-10";
}
Adw.ActionRow {
title: "7-9";
}
}
}
Adw.PreferencesGroup {
title: "DXVK version";
Adw.ExpanderRow {
title: "Vanilla";
Adw.ActionRow {
title: "1.10.1";
}
Adw.ActionRow {
title: "1.10";
}
Adw.ActionRow {
title: "1.9.4";
}
Adw.ActionRow {
title: "1.9.3";
}
Adw.ActionRow {
title: "1.9.2";
}
Adw.ActionRow {
title: "1.9.1";
}
}
Adw.ExpanderRow {
title: "Async";
subtitle: "This version is not recommended for usage as can lead to anti-cheat detection";
Adw.ActionRow {
title: "1.10.1";
}
Adw.ActionRow {
title: "1.10";
}
Adw.ActionRow {
title: "1.9.4";
}
Adw.ActionRow {
title: "1.9.3";
}
Adw.ActionRow {
title: "1.9.2";
}
Adw.ActionRow {
title: "1.9.1";
}
}
}
};
}
Gtk.StackPage {
title: "Enhancements";
child: Adw.PreferencesPage {
title: "Enhancements";
Adw.PreferencesGroup {
title: "Wine";
Adw.ComboRow {
title: "HUD";
model: Gtk.StringList {
strings [
"None",
"DXVK",
"MangoHUD"
]
};
}
Adw.ComboRow {
title: "Synchronization";
subtitle: "Technology used to synchronize inner wine events";
model: Gtk.StringList {
strings [
"None",
"ESync",
"FSync",
"Futex2"
]
};
}
Adw.ComboRow {
title: "FSR";
subtitle: "AMD FSR scales game resolution while rendering the game with the lower one";
model: Gtk.StringList {
strings [
"Ultra Quality",
"Quality",
"Performance",
"Balanced"
]
};
Gtk.Switch {
valign: center;
}
}
}
Adw.PreferencesGroup {
title: "Game";
Adw.ActionRow {
title: "Gamemode";
subtitle: "This prioritizes the game over the rest of the processes";
Gtk.Switch {
valign: center;
}
}
}
};
}
};
}
}