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

Add new Resize container

This commit is contained in:
Emil Ernerfeldt
2020-04-25 14:37:39 +02:00
parent 9ba5bea143
commit 3a430c8fc7
13 changed files with 262 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
use std::collections::HashMap;
use crate::{collapsing_header, scroll_area, window, *};
use crate::{collapsing_header, resize, scroll_area, window, *};
#[derive(Clone, Debug, Default)]
pub struct Memory {
@@ -10,6 +10,7 @@ pub struct Memory {
// states of various types of widgets
pub(crate) collapsing_headers: HashMap<Id, collapsing_header::State>,
pub(crate) scroll_areas: HashMap<Id, scroll_area::State>,
pub(crate) resize: HashMap<Id, resize::State>,
windows: HashMap<Id, window::State>,
/// Top is last