Files
lightgui/widgets/core
cnmcdee 3ed3f57151 XFrame border: per-widget border style via the place file
- SStyle_Manager::add_border_style clones the base style and overrides
  only the border fields (line colour, radius, line width) when set;
  unset fields keep the style defaults (radius 6, 1px dark-grey
  outline), so existing widgets look identical.
- IWidget::set_style_name (pure virtual, forwarded by Holder<T>) lets
  the layout give a placed widget its own border style.
- Place file extended (backwards compatible): x y [width color radius];
  a bare old-format x y still places with the default border.
- Placed records the border; write_state reports border=<w> <color> <r>.
- Designer: the XFrame placement border is set in the Inspector Window
  (Root) view (the designer cannot show an XFrame widget in its
  Inspector) and written into the place file on canvas click.
- Verified: place file 512 360 3 #ff0000 10 -> layout state
  border=3 #ff0000 10, 1072 red pixels drawn.
2026-11-29 19:54:09 +00:00
..