1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Basic text input support

This commit is contained in:
Emil Ernerfeldt
2020-04-29 21:25:49 +02:00
parent 89823ab617
commit 14db237b1d
15 changed files with 434 additions and 29 deletions

View File

@@ -10,6 +10,9 @@ pub struct Memory {
/// The widget being interacted with (e.g. dragged, in case of a slider).
pub(crate) active_id: Option<Id>,
/// The widget with keyboard focus (i.e. a text input field).
pub(crate) kb_focus_id: Option<Id>,
// states of various types of widgets
pub(crate) collapsing_headers: HashMap<Id, collapsing_header::State>,
pub(crate) scroll_areas: HashMap<Id, scroll_area::State>,