app: put automatic recording at the center of the window

The titlebar offered "Start recording" although the recorder starts with a
game; Settings takes that button's place. The two-tab sidebar becomes a
status bar that also names the encoder, and the blue square beside the name
is gone.

Match cards show a champion tile: initials on a colour derived from the
name until there is an image cache. History, review and settings lists get
a scrollbar that follows the viewport in the same frame.

Settings keeps the one switch a player can act on, launch at startup, and
says in plain words that recording starts with a game. The recorder's own
toggles and the client poll interval move to Advanced.
This commit is contained in:
vhaudiquet committed 2026-11-15 23:34:12 +01:00
1 parent 01a92f1edf
commit e7a36c3129
6 files changed
+328 -265

No files matched your search

+18
View File
@@ -90,6 +90,24 @@ impl EncoderPreset {
}
}
/// The name a daemon-reported encoder id (`.current`) stands for.
pub fn encoder_name(id: &str) -> Option<&'static str> {
match id {
"jim_nvenc" => Some("NVIDIA NVENC"),
"amd_amf_h264" => Some("AMD AMF"),
"x264" => Some("x264 (Software)"),
_ => None,
}
}
pub fn label(&self) -> &'static str {
match self {
EncoderPreset::Nvenc { .. } => "NVIDIA NVENC",
EncoderPreset::Amf { .. } => "AMD AMF",
EncoderPreset::X264 { .. } => "x264 (Software)",
}
}
/// This preset with the encoder changed, keeping the bitrate where both have one.
pub fn with_kind(&self, kind: &str) -> EncoderPreset {
let bitrate = match self {