Mercurial > minori
comparison dep/animia/src/win.cc @ 155:d2bbb5773616
dep/animia: add quartz backend for windows
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 15:24:39 -0500 |
parents | d43d68408d3c |
children | cdf79282d647 |
comparison
equal
deleted
inserted
replaced
154:d43d68408d3c | 155:d2bbb5773616 |
---|---|
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 | |
6 # include "animia/win/quartz.h" | |
5 #endif | 7 #endif |
6 | 8 |
7 namespace animia::internal { | 9 namespace animia::internal { |
8 | 10 |
9 #ifdef WIN32 | 11 #ifdef WIN32 |
10 win32::Win32WinTools os_win; | 12 win32::Win32WinTools os_win; |
13 #elif MACOSX | |
14 quartz::QuartzWinTools os_win; | |
11 #else | 15 #else |
12 BaseWinTools os_win; | 16 BaseWinTools os_win; |
13 #endif | 17 #endif |
14 | 18 |
15 BaseWinTools& win = os_win; | 19 BaseWinTools& win = os_win; |