Bridge + rendering rework (validated with a local wx-rs bridge compile + full
cargo check; CI is the build oracle).
- Scroll position hold (#2): the table no longer jumps to the top as new rows
stream in during a scan. fill_rows captures the top visible row before the
clear+refill and restores it after (new wx-rs bridge fns dvlc_get_top_row /
dvlc_ensure_visible, wrapping wxDataViewCtrl::GetTopItem / EnsureVisible).
- Default-colour text (#3b): rows are no longer tinted wholesale by status. Every
cell is now the default text colour (black in light mode, white in dark -- the
SegmentRenderer falls back to wxSYS_COLOUR_WINDOWTEXT for any run with no
explicit colour), so IP addresses, slashes, expected/target values and all
non-conditional cells read in the default colour. Only the conditionally-
formatted columns carry colour: Hashrate/Boards/Chips actual (ratio scale),
Chip temp (blue-red), fans (grey-blue), Access (red/green), Errors (red), and
the Status column keeps its own status colour on its own cell.
- Zebra striping (#8): odd rows get a subtle theme-aware background via the
AttrListStore (a per-row BACKGROUND attr, so it does not disturb the
default-foreground fallback and the native selection highlight still shows
through). This replaces the status row-tint as the row separator. (The earlier
abandoned attempt used SetAlternateRowColour / GTK CSS against the status
foreground tint; removing that tint is what makes the background approach
clean now.)
- Vertical gridlines (#8): wxDV_VERT_RULES added to the table style (row lines
were already on), so columns have borders.
- KPI cards: wxWrapSizer now drops wxEXTEND_LAST_ON_EACH_LINE, so the last card
on a line is no longer stretched -- the uniform-size KPI boxes stay uniform.
wx-rs patches 0002/0003 regenerated and round-trip-validated against the source.
cargo check --release --tests is clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y8h447BPyJR4fioYZvQ9bh