17 #include <SDL2/SDL_events.h>
45 event_.data1 =
reinterpret_cast<void*
>(data1);
46 event_.data2 =
reinterpret_cast<void*
>(data2);
54 operator SDL_UserEvent()
UserEvent(int type, int code, std::size_t data1, std::size_t data2)
UserEvent(int type, int code)
UserEvent(int type, void *data1)