summaryrefslogtreecommitdiff
path: root/applications/goldman/source/window.hpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-29 11:27:22 -0400
committerBenji Dial <benji@benjidial.net>2024-07-29 11:27:22 -0400
commitbe691582ee12613278af24cb5a824eeb357f6324 (patch)
tree5982ca3aad5257f515c93f62735ff3d630aa3ab3 /applications/goldman/source/window.hpp
parent3636fd21e079c47bd8d62e773e178f68fe9c2052 (diff)
downloadhilbert-os-be691582ee12613278af24cb5a824eeb357f6324.tar.gz
some work on compositor
Diffstat (limited to 'applications/goldman/source/window.hpp')
-rw-r--r--applications/goldman/source/window.hpp14
1 files changed, 14 insertions, 0 deletions
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 <daguerre/image.hpp>
+
+struct window {
+
+ daguerre::image<daguerre::hilbert_color> contents;
+
+ int x;
+ int y;
+
+ window(int width, int height) : contents(width, height), x(0), y(0) {}
+
+};