YggdrasilWM  0.1.1
A tiny window manager coded in C++
Point.hpp
Go to the documentation of this file.
1 #ifndef POINT_HPP
2 #define POINT_HPP
8 struct Point {
9  unsigned int x;
10  unsigned int y;
11 
12  Point(unsigned int x, unsigned int y) : x(x), y(y) {}
13  Point() : x(0), y(0) {}
14 };
15 #endif // POINT_HPP
Point struct This struct represents a 2D point.
Definition: Point.hpp:8
Point(unsigned int x, unsigned int y)
Definition: Point.hpp:12
unsigned int x
Definition: Point.hpp:9
unsigned int y
Definition: Point.hpp:10
Point()
Definition: Point.hpp:13