Skip to main content

PaneRenderFn

Type Alias PaneRenderFn 

Source
pub type PaneRenderFn = fn(&mut Frame<'_>, Rect, &App, &DocumentSnapshot, &PaneState, bool, usize);
Expand description

Renderer for one pane. Receives the same arguments as the dispatcher in crate::render::draw_pane_content: the frame, content rect, app state, the active document snapshot (used by the document fallback path), the pane state, an is_active flag, and the pane index (for inactive-pane stash lookups).