Mercurial > minori
comparison dep/animia/src/win.cc @ 190:2d5823df870f
dep/animia: finalize de-objc-ifying quartz
this also fixes up some... rather dumb mistakes in window.cc :)
HG Enter commit message. Lines beginning with 'HG:' are removed.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 21:26:13 -0500 |
parents | 80d6b28eb29f |
children | bc1ae1810855 |
comparison
equal
deleted
inserted
replaced
189:649786bae914 | 190:2d5823df870f |
---|---|
1 #include "animia/win.h" | 1 #include "animia/win.h" |
2 | 2 |
3 #ifdef WIN32 | 3 #ifdef WIN32 |
4 # include "animia/win/win32.h" | 4 # include "animia/win/win32.h" |
5 #elif MACOSX | 5 #elif defined(MACOSX) |
6 # include "animia/win/quartz.h" | 6 # include "animia/win/quartz.h" |
7 #elif X11 | 7 #elif defined(X11) |
8 # include "animia/win/x11.h" | 8 # include "animia/win/x11.h" |
9 #endif | 9 #endif |
10 | 10 |
11 namespace animia::internal { | 11 namespace animia::internal { |
12 | 12 |
13 #ifdef WIN32 | 13 #ifdef WIN32 |
14 win32::Win32WinTools os_win; | 14 win32::Win32WinTools os_win; |
15 #elif MACOSX | 15 #elif defined(MACOSX) |
16 quartz::QuartzWinTools os_win; | 16 quartz::QuartzWinTools os_win; |
17 #elif X11 | 17 #elif defined(X11) |
18 x11::X11WinTools os_win; | 18 x11::X11WinTools os_win; |
19 #else | 19 #else |
20 BaseWinTools os_win; | 20 BaseWinTools os_win; |
21 #endif | 21 #endif |
22 | 22 |