Commit Graph

4 Commits

Author SHA1 Message Date
thw 3bccab12fa feat(ui): Top-/Bottom-Bar zentralisieren, Poker & Blackjack überarbeiten & 1-Klasse-pro-Datei durchsetzen
- GothTopbar ausgelagert & entschlackt (ohne Spieltitel/Spielmenü-Button, Sprachwechsel in kombinierten Einstellungs-Dialog verschoben, zentriertes Level/XP-Badge)
- SolitaireBottomBar um dynamische Links-/Rechts-Overflow-Flügel, Pipe-Trenner, zentriertes HUD und sauberes Button-Cleanup erweitert
- Zentrale Vollbild-Statistikansicht (UnifiedStatsView) für alle Spiele inkl. Goldbeutel- und Varianten-Umschalter eingeführt
- Animiertes GothSwitch-Widget implementiert und optionale Button-Hover-Tooltips (Helvetica) an Settings gekoppelt
- Blackjack- & Poker-Tische auf Vollbild-Canvas umgebaut (kompakter Pot, dynamische Boxbreiten, spoilerfreie Poker-Kartenreferenz neben Spieler-Hand)
- Architektur-Cleanup (strikt 1 Klasse pro Datei: PokerHandsOverlay & SolitaireCard separiert) sowie AST-Prüfskripte für i18n und Multi-Class-Checks ergänzt
2026-11-21 02:20:50 +01:00
thw 4c29eda3c3 perf(ui): optimize Crostini/XWayland rendering and refactor Gothic UI layout
- Centralize compact GothTopbar title and 8-char/8-digit user badge within background safe-area

- Split solitaire_menu_chrome into MenuBodyCanvas, SolitaireModalDialog (with GIF support), and SolitaireBottomBar

- Remove general_table.jpg and render solitaire tables seamlessly over shared background cache

- Keep ResizingBG persistent across clear_window() to eliminate black-screen flickering

- Add C-accelerated PIL matte cleaning, lazy button state caching, pre-scaled card cache, and startup preloader
2026-11-19 22:50:58 +01:00
thw 6f614c8595 feat(ui): overhaul menus, stats & dialogs to custom canvas-based Gothic UI
- Add ui_typography.py and update game_constants.py for Old London typography and new image assets
- Upgrade AssetManager with downscaled 9-slice box rendering and PIL Old London text engine
- Convert ResizingBG to full-window Canvas with automatic horizontal/vertical background switching
- Add GothEntry and two-part GothDropdown with proportional arrow cap, mousewheel scrolling, and scroll indicators
- Update ImageButton with 3-slice side caps, frame-aware auto-width, and automatic icon stripping
- Refactor GothTopbar, LoginView, MainMenuView (hover zoom), StatisticsView, StatsBoardWidget, BotSetupWidget, and AudioSettingsDialog
- Migrate Blackjack, Poker, FreeCell, Klondike, and Spider menu/stats views plus BlackjackResultDialog to frameless canvas layouts
- Fix Crostini shelf icon matching via exact X11 WM_CLASS and absolute pixmap path
2026-11-17 22:31:02 +01:00
thw aad8a2f0d6 feat(solitaire): add Spider Solitaire, game tile icons & framed table background
- Add complete Spider Solitaire module (1/2/4 suits, strict 10-column deal rule & constructive deal generator)
- Render custom game icons on main menu cards with automatic badge cropping & rounded corners
- Add responsive general_table.jpg background renderer with frame-aware card insets across all Solitaire tables
- Rebuild internal_base.db with Spider Solitaire translations (DE/EN)
2026-11-15 23:06:29 +01:00