786f1dd4280a786ba0d1a4d0e990738d05b5ab3e
Per-widget PropDef tables for all 103 Stock (37) + Instrumentation (66) classes, generated by tools/gen_phase4_props.py (rust mode) from the C++ widget headers -- the same source as the C tables, so both designers show the same property set with the same defaults. Each table is the Phase 1 generic set (via common_props) plus the widget's own colours, levels and params (text first, then colours, then numerics/bools). StockCandlestickChart resolves to the combined StockChart table: the legacy 8 data/indicator props with the widget's real up/down defaults rgb(0,150,0)/rgb(200,30,30) (the legacy rgb(0,200,0)/rgb(220,0,0) did not match the widget) plus the candlestick custom props (text, grid-color, axis-width/height, view-first/count, auto-y, y-min/y-max) -- 17 total. Also adds PropDef::n / PropDef::r const-fn constructors used by the generated tables, and a phase4_stock_inst_tables test (counts + spot checks across families).
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%