Add glyph chooser and redesign editor side panel

Glyph chooser: a painted preview button in the Palette tab opens a
floating dialog with a board-palette picker, fg/bg color pickers
(egui built-in), and a 16×6 printable ASCII character grid. The
stamped glyph is now independent of the archetype's default.

Side panel: widened to 200 px (resizable), tabbed (Palette / Board /
World), archetype rows show their default glyph cell, list scrolls
after 5 entries, labels use ui.label() for consistent sizing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 17:48:36 -05:00
parent 0348ecdd13
commit a4b7a4968c
2 changed files with 205 additions and 16 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ use serde::Deserialize;
/// `Glyph` values come from the map file palette and are set at load time.
/// The player is the only entity whose glyph is hardcoded at runtime
/// (see [`Glyph::player`]).
#[derive(Clone, Copy)]
#[derive(Clone, Copy, PartialEq)]
pub struct Glyph {
/// The character to display in this cell.
pub ch: char,