#include <pgeventsupplier.h>
Inheritance diagram for PG_EventSupplier:

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. | |
Definition at line 49 of file pgeventsupplier.h.
|
|
Definition at line 53 of file pgeventsupplier.h. |
|
||||||||||||
|
Get the current mouse position.
Implemented in PG_SDLEventSupplier. Referenced by PG_Application::DrawCursor(). |
|
|
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, and EventSupplier. |
|
|
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, and EventSupplier. Referenced by PG_Application::FlushEventQueue(), and PG_Application::RunEventLoop(). |
|
|
Waits indefinitely for the next available event.
Implemented in PG_SDLEventSupplier, and EventSupplier. Referenced by PG_Application::RunEventLoop(). |
1.4.2