blob: 318c3350a8f391f178a9eabb997e905c18287196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
use {
super::*,
crate::{
display::Screen,
skin::PanelSkin,
},
termimad::Area,
};
/// short lived wrapping of a few things which are needed for displaying
/// panels
pub struct DisplayContext<'c> {
pub count: usize,
pub active: bool,
pub screen: Screen,
pub state_area: Area,
pub panel_skin: &'c PanelSkin,
pub app_state: &'c AppState,
pub con: &'c AppContext,
}
|