Summary
Hovering a row in the Shape List pane highlights the corresponding solid in the OCCT 3D viewer. Highlight color is configurable in Settings and persisted in ezycad_settings.json.
Implemented
- Shape List rows use a single ImGui group so the full row (name, visibility, shaded, material) is one hover target.
Occt_view::set_shape_list_hover() drives OCCT HilightWithColor / Unhilight (distinct from yellow mouse preselect in the viewer).
- Hover clears when the pointer leaves the list or the pane is hidden; hidden shapes are not highlighted.
- Settings → 3D view background → Shape list hover color (RGBA); updates live while a row is hovered.
- Persisted as
gui.shape_list_hover_color (default green (0, 1, 0, 1)).
Occt_view::refresh_shape_list_hover_highlight() reapplies highlight after color changes; hover cleared when a hovered shape is deleted.
Files
src/gui.cpp, src/gui.h
src/gui_settings.cpp
src/occt_view.cpp, src/occt_view.h
res/ezycad_settings.json
Acceptance criteria
Notes
- Sketch List parity (hover → highlight) is out of scope unless added in a follow-up.
Summary
Hovering a row in the Shape List pane highlights the corresponding solid in the OCCT 3D viewer. Highlight color is configurable in Settings and persisted in
ezycad_settings.json.Implemented
Occt_view::set_shape_list_hover()drives OCCTHilightWithColor/Unhilight(distinct from yellow mouse preselect in the viewer).gui.shape_list_hover_color(default green(0, 1, 0, 1)).Occt_view::refresh_shape_list_hover_highlight()reapplies highlight after color changes; hover cleared when a hovered shape is deleted.Files
src/gui.cpp,src/gui.hsrc/gui_settings.cppsrc/occt_view.cpp,src/occt_view.hres/ezycad_settings.jsonAcceptance criteria
Notes