ChessPenguin 0.6.3
Some checks failed
CI / macos-build (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Some checks failed
CI / macos-build (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Opening index: games from a set-up position are left to the pass; exact preparation progress; quiet import notes; clearer preparation text; randomized Mega test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4b92fa32de
commit
e11e09aa18
13 changed files with 305 additions and 67 deletions
|
|
@ -26,3 +26,9 @@ fn x_button(ui: &mut Ui, size: egui::Vec2, d: f32) -> egui::Response {
|
|||
.line_segment([c + vec2(-d, d), c + vec2(d, -d)], stroke);
|
||||
resp
|
||||
}
|
||||
|
||||
/// The quiet "ℹ n" of import notes: minor remarks, so no colour and no frame.
|
||||
pub fn notes_button(ui: &mut egui::Ui, notes: usize) -> egui::Response {
|
||||
ui.add(egui::Button::new(egui::RichText::new(format!("ℹ {notes}")).weak().small()).frame(false))
|
||||
.on_hover_text(crate::i18n::tr("Import notes"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue