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

Resize windows by dragging any side or corner

This commit is contained in:
Emil Ernerfeldt
2020-05-17 16:42:20 +02:00
parent f9bb9f71c4
commit 88bfcd585e
13 changed files with 353 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
use std::collections::{HashMap, HashSet};
use crate::{
containers::{area, collapsing_header, menu, resize, scroll_area},
containers::{area, collapsing_header, menu, resize, scroll_area, window},
widgets::text_edit,
Id, Layer, Pos2, Rect,
};
@@ -24,6 +24,9 @@ pub struct Memory {
pub(crate) scroll_areas: HashMap<Id, scroll_area::State>,
pub(crate) text_edit: HashMap<Id, text_edit::State>,
#[serde(skip)]
pub(crate) frame_interaction: Option<window::FrameInteraction>,
pub(crate) areas: Areas,
}