the-honkers-railway-launcher/assets/ui/preferences/gamescope.blp

104 lines
2.2 KiB
Text
Raw Normal View History

using Gtk 4.0;
using Adw 1;
Adw.PreferencesWindow window {
title: "Gamescope";
modal: true;
hide-on-close: true;
Adw.PreferencesPage {
Adw.PreferencesGroup {
title: "Game resolution";
2022-09-24 14:52:31 +00:00
Adw.EntryRow game_width {
title: "Width";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
2022-09-24 14:52:31 +00:00
Adw.EntryRow game_height {
title: "Height";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
}
Adw.PreferencesGroup {
title: "Gamescope resolution";
2022-09-24 14:52:31 +00:00
Adw.EntryRow gamescope_width {
title: "Width";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
2022-09-24 14:52:31 +00:00
Adw.EntryRow gamescope_height {
title: "Height";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
}
Adw.PreferencesGroup {
title: "Other settings";
2022-09-24 14:52:31 +00:00
Adw.EntryRow framerate_limit {
title: "Framerate limit";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
2022-09-24 14:52:31 +00:00
Adw.EntryRow framerate_unfocused_limit {
title: "Unfocused framerate limit";
2022-09-24 14:52:31 +00:00
input-purpose: digits;
}
Adw.ActionRow {
title: "Integer scaling";
Gtk.Switch integer_scaling {
valign: center;
}
}
Adw.ActionRow {
title: "FSR";
Gtk.Switch fsr {
valign: center;
}
}
Adw.ActionRow {
title: "Nvidia Image Scaling";
Gtk.Switch nis {
valign: center;
}
}
Adw.ActionRow {
title: "Window type";
Gtk.Box {
orientation: horizontal;
Gtk.ToggleButton borderless {
label: "Borderless";
valign: center;
}
Gtk.ToggleButton fullscreen {
label: "Fullscreen";
valign: center;
}
styles ["linked"]
}
}
}
}
}