feat(app): a featured-title banner at the top of the library

The title watched last, or with nothing part-watched one of the titles a
provider has a backdrop for, turning over once a day. Large art behind
the name, rating, genres, three lines of overview, and Resume / More
info.
This commit is contained in:
nvrl committed 2026-10-02 20:16:27 +02:00
1 parent 53a1d0afda
commit 7d03736954
2 files changed
+194 -1

No files matched your search

+1 -1
View File
@@ -702,7 +702,7 @@ pub fn cover_uv(image: Vec2, target: Vec2) -> Rect {
///
/// The hash is FNV-1a: stable across runs and platforms, which the standard
/// library's hasher deliberately is not.
fn placeholder(painter: &egui::Painter, rect: Rect, name: &str, opacity: f32) {
pub(crate) fn placeholder(painter: &egui::Painter, rect: Rect, name: &str, opacity: f32) {
let hash = name.bytes().fold(0xcbf2_9ce4_8422_2325_u64, |hash, byte| {
(hash ^ u64::from(byte)).wrapping_mul(0x0100_0000_01b3)
});