23#ifndef WINDOWGEOMETRY_H
24#define WINDOWGEOMETRY_H
26#include <boost/json.hpp>
WindowGeometry(long width, long height, bool isMaximized, long x, long y)
Construct a WindowGeometry.
boost::json::object toJson() const
Converts the WindowGeometry to a json object.
long getY() const
Gets the y position of the window.
void setIsMaximized(bool isMaximized)
Sets whether or not the window is maximized.
void setWidth(long width)
Sets the width of the window.
WindowGeometry(boost::json::object json)
Constructs a WindowGeometry.
WindowGeometry()
Construct a WindowGeometry.
WindowGeometry(long width, long height, bool isMaximized)
Construct a WindowGeometry.
void setHeight(long height)
Sets the height of the window.
void setY(long y)
Sets the y position of the window.
long getWidth() const
Gets the width of the window.
bool isMaximized() const
Gets whether or not the window is maximized.
long getHeight() const
Gets the height of the window.
long getX() const
Gets the x position of the window.
void setX(long x)
Sets the x position of the window.