summaryrefslogblamecommitdiffstats
path: root/native/src/window/action.rs
blob: 01294e8310157820fd75deae07c6315ba77a791f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                    
/// An operation to be performed on some window.
#[derive(Debug)]
pub enum Action {
    /// Resize the window.
    Resize {
        /// The new logical width of the window
        width: u32,
        /// The new logical height of the window
        height: u32,
    },
    /// Move the window.
    Move {
        /// The new logical x location of the window
        x: i32,
        /// The new logical y location of the window
        y: i32,
    },
}