oxidized_curses/utils.rs
1/// A point in curses screen space
2pub struct ScreenPoint {
3 /// X Coordinate
4 pub x: usize,
5 /// Y Coordinate
6 pub y: usize,
7}
8
9/// A rectangle in screen space
10pub struct ScreenRect {
11 /// The upper left corner of the rectangle
12 pub start: ScreenPoint,
13
14 /// The height and width of the rectangle
15 pub offset: ScreenPoint,
16}