commit 36fb585
uint
·
2026-06-22 20:42:47 +0000 UTC
parent 27e1395
Add windows backend option
2 files changed,
+18,
-1
+1,
-1
1@@ -32,7 +32,7 @@
2 /* ... */
3
4 #elif defined(BACKEND_WIN)
5- /* ... */
6+ #include "maus_win.h"
7
8 #elif defined(BACKEND_MAC)
9 /* ... */
+17,
-0
1@@ -0,0 +1,17 @@
2+#ifndef MAUS_WIN_H
3+#define MAUS_WIN_H
4+
5+#include <stdbool.h>
6+
7+#include <windows.h>
8+
9+typedef struct {
10+ HWND hwnd;
11+ HINSTANCE hInst;
12+ HDC hdc;
13+ HBITMAP hbm;
14+ HDC memdc;
15+} MausBackend;
16+
17+#endif /* MAUS_WIN_H */
18+