Mercurial > minori
view 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 |
line wrap: on
line source
#include "animia/win.h" #ifdef WIN32 # include "animia/win/win32.h" #elif MACOSX # include "animia/win/quartz.h" #endif namespace animia::internal { #ifdef WIN32 win32::Win32WinTools os_win; #elif MACOSX quartz::QuartzWinTools os_win; #else BaseWinTools os_win; #endif BaseWinTools& win = os_win; }