#pragma once #include struct window { static constexpr int decorations_extra_width = 4; static constexpr int decorations_extra_height = 18; daguerre::image contents_with_decorations; daguerre::image contents; int x; int y; bool is_shown; std::string title; void set_size(int width, int height); void draw_decorations(bool top); inline window() : x(0), y(0), is_shown(false) { set_size(0, 0); draw_decorations(false); } };