docs: the readouts strip
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
c8d9d04f59
commit
3526ce0541
8 files changed
+75
-5
No files matched your search
@@ -134,6 +134,18 @@ touching the data path.
|
||||
kind's panels (those are slide-over pages). The window's measurement editor is a dialog
|
||||
(`open_measure_dialog()`), not part of the `measure` page.
|
||||
|
||||
**The readouts strip** (`readouts_strip` in `main-window.ui`, between `plot_overlay` and `badge_bar` in
|
||||
`left_column`; filled by `ui_dock.cpp`) carries the same readouts when the dock is not on screen: a flat
|
||||
**Cursors** button and one chip (`who` + delta) per cursor line, then a **Measures** button and one chip per
|
||||
measurement. `sync_readouts_strip()` shows it exactly when `adw_overlay_split_view_get_show_sidebar()` is
|
||||
false; the tick calls it right after re-asserting `sidebar_wanted` and *before* `set_collapsed()` (so the
|
||||
split view's own collapse-time `show-sidebar` write is never read, and the strip does not flash on a
|
||||
narrowing). Its labels (`strip_cursor_who`, `strip_cursor_deltas`, `strip_measure_labels`) are rebuilt by
|
||||
`dock_rebuild_cursors()` / `dock_rebuild_measures()` and written by `dock_cursor_cell()` /
|
||||
`dock_measure_value()` from the same argument as the dock's, so there is no second formatter;
|
||||
`dock_set_cursors_sensitive()` is the one writer of the cursor readouts' sensitivity (the dock's grid and
|
||||
the strip's chip box).
|
||||
|
||||
The **Events** block (`build_events_dock()`, also `ui_dock.cpp`) is a heading with a **Manage** button
|
||||
(`open_events_page()`) over a short list (`dock_events_list`, 112 px, scrolled, no thumbnails): one compact
|
||||
row per `EventRecord`, newest first, capped at `kDockEventsMax` (24) with a dim "... N more, see Manage"
|
||||
|
||||
Reference in new issue
Block a user