concinnity-dev 0.19.119

The Concinnity dev tooling library: world authoring, the in-engine editor, the debug server, docs and packaging
1
2
3
4
5
6
7
8
9
10
//! EditorHook: the Lighting panel's session state: which text binding holds
//! keyboard focus, the message from the last rejected Apply, and whether typed
//! or clicked control state is waiting on Apply (the heading's "*").

#[derive(Debug, Default)]
pub(in crate::editor::hook) struct LightingState {
    pub(in crate::editor::hook) focus: Option<usize>,
    pub(in crate::editor::hook) status: Option<String>,
    pub(in crate::editor::hook) touched: bool,
}