Rename -[handleNextEvent] -> -[handleEvents].

This commit is contained in:
Jonathan Schleifer 2012-08-26 15:38:49 +02:00
parent b88e005477
commit 0460fc7d5f
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@
@property (unsafe_unretained) id <OGKEventQueueDelegate> delegate; @property (unsafe_unretained) id <OGKEventQueueDelegate> delegate;
- (void)handleNextEvent; - (void)handleEvents;
- (void)registerDisplay: (OGKDisplay*)display; - (void)registerDisplay: (OGKDisplay*)display;
- (void)unregisterDisplay: (OGKDisplay*)display; - (void)unregisterDisplay: (OGKDisplay*)display;
- (void)registerKeyboard; - (void)registerKeyboard;

View file

@ -53,7 +53,7 @@ static int mouse_retain_count = 0;
al_destroy_event_queue(eventQueue); al_destroy_event_queue(eventQueue);
} }
- (void)handleNextEvent - (void)handleEvents
{ {
OGKEvent *event = [[OGKEvent alloc] init]; OGKEvent *event = [[OGKEvent alloc] init];
ALLEGRO_EVENT *allegroEvent = [event OGK_allegroEvent]; ALLEGRO_EVENT *allegroEvent = [event OGK_allegroEvent];

View file

@ -75,7 +75,7 @@ OF_APPLICATION_DELEGATE(TestMain)
- (void)handleEvents - (void)handleEvents
{ {
[eventQueue handleNextEvent]; [eventQueue handleEvents];
} }
- (void)draw - (void)draw