pub fn ov_get_graph<L: OutlineViewer + ?Sized>(
_this: &L,
level: i32,
lines: i64,
flags: u16,
ctx: &DrawCtx<'_>,
) -> StringExpand description
Return the default box-drawing prefix for one outline row.
Uses a level width and end width of 3, and the classic box-drawing character
set (space, │, ├, └, ─, ─, +, ─). Called from ov_draw for every visible
row. To use a different character set or column widths, build an outline
viewer that does not call ov_draw and instead calls create_graph
directly with the desired parameters.
§Turbo Vision heritage
Ports TOutlineViewer::getGraph (toutline.cpp). The C++ virtual method
becomes a free function; a concrete widget that wants a different style
replaces the call rather than overriding the method.