openpencil/crates/openpencil-shell-core/src
Kayshen-X db69fc5fc7 refactor(shell): promote inspector_window to openpencil-desktop binary crate
The native runner outgrew the `examples/` slot — it owns DPI tracking,
caret-blink animation timer, panel-resize cursor, the full Cmd+wheel /
PinchGesture / Pixel/LineDelta dispatch table, etc. None of that is a
sample, so it's been promoted to a real crate.

* New crate `crates/openpencil-desktop/` with a single `[[bin]]`
  target. Depends on `openpencil-shell-native` (lib) + winit +
  skia-safe (gl), gated to macOS / Linux / Windows.
* `examples/inspector_window.rs` removed; equivalent code lives at
  `crates/openpencil-desktop/src/main.rs` with the structs renamed
  (DesktopApp / paint) and the doc-block rewritten as a runner spec.
* Run command: `cargo run -p openpencil-desktop --release`. Old
  command (`--example inspector_window`) is gone.
* Workspace glob `crates/*` already picks up the new crate, no
  Cargo.toml workspace edit needed.
* Docs: crates/CLAUDE.md updated with the new crate row and runner
  section retitled "Desktop binary". Top-bar layout test renamed +
  uses the TOP_BAR_HEIGHT constant so future height tweaks stop
  breaking it.
2026-05-10 19:50:10 +08:00
..
i18n fix(shell-core): convert-locales handles multi-line + double-quoted values 2026-05-10 19:04:38 +08:00
widgets refactor(shell): promote inspector_window to openpencil-desktop binary crate 2026-05-10 19:50:10 +08:00
document.rs feat(shell): AA round-rects + Layer/Property dividers + resizable rails + smaller chrome 2026-05-10 19:42:46 +08:00
jian.rs style(shell): convert all comments to English 2026-05-05 21:12:00 +08:00
lib.rs feat(shell): theme + locale toggle wired to TopBar Sun + Globe icons 2026-05-10 18:37:41 +08:00
render_backend.rs style(shell): cargo fmt --all (rustfmt-clean) 2026-05-10 18:47:33 +08:00
theme.rs feat(shell-core): canvas surface, slimmer toolbar, TS-style chat input 2026-05-10 19:33:06 +08:00