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
11
//! EditorHook: the Variables panel's session state: the selected row of the
//! table, the row window's scroll, and which of its two fields holds the
//! keyboard.

#[derive(Debug, Default)]
pub(in crate::editor::hook) struct VariablesState {
    pub(in crate::editor::hook) row: Option<usize>,
    pub(in crate::editor::hook) scroll: usize,
    pub(in crate::editor::hook) name_focus: bool,
    pub(in crate::editor::hook) value_focus: bool,
}