From a5ea79739783682c46983d5b67b2b4b7b5338ccb Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 21:24:48 +0100 Subject: v4.2.1: plain-language game copy and a balance fetch on login The lobby and every game screen now speak to a player, not an operator: each game has one how-to sentence, and the table headers, limits, RTP, paytable and server-timing notes are gone. The account and balance are fetched whenever a session signs in, including stored-credential auto-login, so the header is filled before the lobby appears. --- gui/src/roulette.rs | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) (limited to 'gui/src/roulette.rs') diff --git a/gui/src/roulette.rs b/gui/src/roulette.rs index c791693..0100d1e 100644 --- a/gui/src/roulette.rs +++ b/gui/src/roulette.rs @@ -730,11 +730,7 @@ fn sidebar( .font(theme::sans(22.0)) .color(theme::TEXT), ); - ui.label( - eframe::egui::RichText::new("European · single zero") - .font(theme::sans(12.0)) - .color(theme::TEXT_DIM), - ); + super::widgets::note(ui, "Pick numbers or colours, then spin."); ui.add_space(theme::SPACE_4); let wheel_size = ui.available_width().min(210.0); @@ -906,29 +902,7 @@ fn sidebar( fn board(ui: &mut Ui, view: &RouletteView, fx: &Fx) -> Option { use zagan_bet::client::view::Command; - ui.horizontal(|ui| { - ui.label( - eframe::egui::RichText::new("Table 01") - .font(theme::sans(15.0)) - .color(theme::TEXT), - ); - ui.label( - eframe::egui::RichText::new("European · single zero") - .font(theme::sans(12.0)) - .color(theme::TEXT_DIM), - ); - ui.with_layout( - eframe::egui::Layout::right_to_left(eframe::egui::Align::Center), - |ui| { - ui.label( - eframe::egui::RichText::new("Limits 10 – 500 Kr") - .font(theme::mono(12.0)) - .color(theme::TEXT_FAINT), - ); - }, - ); - }); - ui.add_space(theme::SPACE_4); + ui.add_space(theme::SPACE_2); let strip_height = 104.0; let available = ui.available_size(); @@ -968,11 +942,9 @@ fn board(ui: &mut Ui, view: &RouletteView, fx: &Fx) -> Option