use macros to allow animations on Windows