
Public Member Functions | |
| virtual | ~PG_EventSupplier () |
| virtual bool | PollEvent (SDL_Event *event)=0 |
| Polls for currently pending events, and returns true if there are any pending events, or false if there are none available. | |
| virtual bool | PeepEvent (SDL_Event *event)=0 |
| Checks if an event is in the queue. | |
| virtual int | WaitEvent (SDL_Event *event)=0 |
| Waits indefinitely for the next available event. | |
| virtual int | GetMouseState (int &x, int &y)=0 |
| Get the current mouse position. | |
|
|
|
|
||||||||||||
|
Get the current mouse position.
Implemented in PG_SDLEventSupplier. |
|
|
Checks if an event is in the queue. If there is, it will be copied into the event structure, WITHOUT being removed from the event queue.
Implemented in PG_SDLEventSupplier. |
|
|
Polls for currently pending events, and returns true if there are any pending events, or false if there are none available. If event is not NULL, the next event is removed from the queue and stored in that area.
Implemented in PG_SDLEventSupplier. |
|
|
Waits indefinitely for the next available event.
Implemented in PG_SDLEventSupplier. |
1.4.2