view dep/animia/src/win.cc @ 156:cdf79282d647

dep/animia: add VERY early x11 window stuff
author Paper <mrpapersonic@gmail.com>
date Wed, 15 Nov 2023 18:04:04 -0500
parents d2bbb5773616
children 18c8eb5d1edc
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;

} // namespace animia::internal