mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-26 23:28:02 +03:00
cc5e9b3d4e
- updated core library; new version caches patch fetching results - added Nvidia Image Scaling option to gamescope From previous commits: - added `dxvk-async-1.10.3`
119 lines
2.8 KiB
Text
119 lines
2.8 KiB
Text
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";
|
|
|
|
Adw.ActionRow {
|
|
title: "Width";
|
|
|
|
Gtk.Entry game_width {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Height";
|
|
|
|
Gtk.Entry game_height {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
title: "Gamescope resolution";
|
|
|
|
Adw.ActionRow {
|
|
title: "Width";
|
|
|
|
Gtk.Entry gamescope_width {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Height";
|
|
|
|
Gtk.Entry gamescope_height {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
title: "Other settings";
|
|
|
|
Adw.ActionRow {
|
|
title: "Framerate limit";
|
|
|
|
Gtk.Entry framerate_limit {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Unfocused framerate limit";
|
|
|
|
Gtk.Entry framerate_unfocused_limit {
|
|
placeholder-text: "0";
|
|
valign: center;
|
|
input-purpose: digits;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Integer scaling";
|
|
|
|
Gtk.Switch integer_scaling {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Nvidia Image Scaling";
|
|
|
|
Gtk.Switch nvidia_image_scaling {
|
|
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"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|