1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Drawing a [`ConfigPane`](super::super::pane::ConfigPane): a title naming
//! the target, the field set's groups as section headers, one row per
//! field, and a cost column saying what changing that field would cost.
//!
//! The layout is [`super::settings`]'s: both screens own the whole body
//! between the title and the status bar, both have more rows than a
//! terminal has lines, and both pay for chrome the viewport cannot see.
//! The scroll walk is shared ([`super::scroll::to_cursor`]); the layout
//! below is this pane's own, since a field list under eight headers and a
//! settings screen with a dogs table share almost no lines.
//!
//! A sheep pane is 40 rows plus a title, eight headers and seven blank
//! separators: sixteen lines of chrome before a marker is paid for.
//!
//! `layout` holds the width budget, `field_row` one row, and `chrome`,
//! `env`, `list` and `panel` the regions around them. `body` decides which
//! rows fit, `draw` assembles the pane, `close` is the dialog over it.
pub
pub use draw_pane;
// Named by path only from tests: `lookout::app` and `view::fixtures` both
// render a pane's rows without drawing them.
pub use pane_lines;
// Named by path only from `view::fixtures`, which is `#[cfg(test)]`.
pub use panel_for_field;
pub use panel_lines;