Files
lightgui_rust/crates/xframe-layout/Cargo.toml
T
Muse aad728a8aa Wire real xframe-widgets into demo/layout; delete stub Widget trait
- Delete xframe-common::widget (StubWidget + duplicate Widget trait);
  the one trait is now xframe-widgets::Widget.
- New xframe-common::target::CtxTarget: xframe_core::DrawTarget (and
  FontSource) adapter over DrawCtx, so the real widgets draw into the
  demo/layout windows. Text goes through DrawCtx::draw_text (PolyText8),
  keeping the black-bars fix intact.
- xframe-core X11Target::draw_string: ImageText8 -> PolyText8 (same
  black-bars fix; the live target still had the bug).
- xframe-demo / xframe-layout: create widgets via xframe_widgets::create,
  core StyleManager with the exact C++ default/dark styles, fonts
  resolved through the target; label text = registry kind (closest
  available approximation of each C++ constructor default text).
- xframe-test-runner: doc note updated (real widgets under test now).
- Fix pre-existing clippy error in xframe-common ico test (0*16+5 -> 5).
- NOTE: do not run cargo fmt --all here: rustfmt inserts commas in the
  archetype_impl! macro call sites and breaks the build (verified);
  generated files are intentionally unformatted.
2026-11-29 07:12:46 +00:00

17 lines
482 B
TOML

[package]
name = "xframe-layout"
version = "0.1.0"
edition = "2021"
description = "LightGUI layout/design window on x11rb: place/move/resize/delete widgets, resize handles, script mode. Port of widgets/layout/main_layout.cpp (lightgui eb0b5fc)."
license = "MIT"
[[bin]]
name = "xframe-layout"
path = "src/main.rs"
[dependencies]
xframe-common = { path = "../xframe-common" }
xframe-core = { path = "../xframe-core" }
xframe-widgets = { path = "../xframe-widgets" }
x11rb = "0.13"