cnmcdee
|
cef7988a84
|
Phase 1: XFrame core + canvas + palette data + project model
- xframe/core.py: Widget base, 14 archetype draw classes (Cairo),
registry over all 547 kinds; 13px handles, 8px grab pad, 450ms
double-click, 8px drag threshold, 24x16 resize floor (C/Rust)
- xframe/canvas.py: CanvasState state machine (display-free, tested)
+ Gtk.DrawingArea shell; placement, selection, double-click
handles, drag, handle resize, Delete/Escape, viewport tracking
- xframe/palette.py: generated from Rust registry_gen.rs, cross-checked
vs C xframe_palette.h; 547 entries in 11 sections + 36 legacy
model.h type keys as LEGACY_TYPES (583 total in the Rust data file)
- model.py: Project + .fdj save/load byte-compatible with the C writer
- app.py: main window with filterable palette list + canvas + status bar
- tests/: 62 stdlib unittest tests
|
2026-12-01 02:23:54 +00:00 |
|