MiniEngine/MiniEngine_Event.h

10 lines
212 B
C
Raw Normal View History

2017-04-04 09:49:18 +08:00
#pragma once
#include "MiniEngine.h"
2017-05-02 12:59:57 +08:00
typedef SDL_Event Event;
int PollEvent(Event& refEvent);
int WaitEvent(Event& refEvent);
int WaitEventTimeout(Event& refEvent,int ms);
int PushEvent(const Event& refEvent);