From be691582ee12613278af24cb5a824eeb357f6324 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 29 Jul 2024 11:27:22 -0400 Subject: some work on compositor --- applications/goldman/source/window.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/goldman/source/window.hpp (limited to 'applications/goldman/source/window.hpp') diff --git a/applications/goldman/source/window.hpp b/applications/goldman/source/window.hpp new file mode 100644 index 0000000..008af2f --- /dev/null +++ b/applications/goldman/source/window.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include + +struct window { + + daguerre::image contents; + + int x; + int y; + + window(int width, int height) : contents(width, height), x(0), y(0) {} + +}; -- cgit v1.2.3