a98d24d495227219b65c84ee8a520518f1c4e4b8
Mirrors the C generator: a generic Phase 4 loop driven by PHASE4_CAPS
(caps_rs mode of tools/gen_phase4_props.py) emits one setter call per
Inspector-table prop the widget actually has, with the arg form from
the table kind (set_value(double) for gauges, set_value("...") for Seg
displays). Pairs are emitted together (minimum/maximum -> set_range,
y-min/y-max -> set_y_range, set_anchors3 when all six anchor
components are present, else one set_anchor per complete anchor). The
StockChart branch keeps only the NOTE for data-file/indicators/
drawings/compare-files/scale-mode; its up/down colours now come from
the generic loop. The common background prop falls back to
set_bg_color for Stock/Inst classes that have it (PHASE4_BG_COLOR,
bg_rs mode).
lightgui_rust — LightGUI ported to Rust
Rust port of LightGUI
(HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets.
See PORTING_PLAN.md for the survey and module map.
Workspace
| Crate | C++ source | Status |
|---|---|---|
crates/lightgui-core |
src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp |
done |
crates/lightgui-gen |
src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) |
done |
crates/lightgui-debug |
src/debugger.cpp / src/debugger.h (GDB/MI) |
in progress |
crates/lightgui-support |
data extraction (registry, palette, indicators) | in progress |
probe/ is the step-0 crates.io probe (standalone, excluded from the
workspace). data/ / tools/ are generated data + extraction tooling.
Build / test
cargo test # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build # must be warning-free (the C++ build was zero-warning)
Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%