KeSp_controller/ui/components/status_bar.slint
Mae PUGIN b06bf08cc3 release: v1.0.0 — KeSp Controller multi-platform
- Rename package to KeSp_controller
- Version 1.0.0
- GitHub Actions workflow for Linux/Windows/macOS releases
- Auto-build on tag push (v*)
- Window title and version strings updated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 16:23:12 +02:00

39 lines
938 B
Text

import { Theme } from "../theme.slint";
import { AppState } from "../globals.slint";
export component StatusBar inherits Rectangle {
height: 32px;
background: Theme.bg-secondary;
HorizontalLayout {
padding-left: 12px;
padding-right: 12px;
spacing: 16px;
// Status text
Text {
text: AppState.status-text;
color: Theme.fg-secondary;
font-size: 12px;
vertical-alignment: center;
}
Rectangle { horizontal-stretch: 1; }
// WPM
Text {
text: AppState.wpm > 0 ? "WPM: " + AppState.wpm : "";
color: Theme.accent-cyan;
font-size: 12px;
vertical-alignment: center;
}
// Version
Text {
text: "v1.0.0";
color: Theme.fg-secondary;
font-size: 11px;
vertical-alignment: center;
}
}
}