Skip to main content

ferroui_controls/
window_edge.rs

1/// The edge or corner of a window that an interactive resize is started
2/// from.
3// The order of the values matches the one used by GTK; backends rely on it.
4#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
5#[repr(i32)]
6pub enum WindowEdge {
7    NorthWest = 0,
8    North = 1,
9    NorthEast = 2,
10    West = 3,
11    East = 4,
12    SouthWest = 5,
13    South = 6,
14    SouthEast = 7,
15}