From 0460fc7d5fb0397cf81832bccf99256d65185c49 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 26 Aug 2012 15:38:49 +0200 Subject: [PATCH] Rename -[handleNextEvent] -> -[handleEvents]. --- src/OGKEventQueue.h | 2 +- src/OGKEventQueue.m | 2 +- tests/TestMain.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OGKEventQueue.h b/src/OGKEventQueue.h index e2dd320..d355575 100644 --- a/src/OGKEventQueue.h +++ b/src/OGKEventQueue.h @@ -50,7 +50,7 @@ @property (unsafe_unretained) id delegate; -- (void)handleNextEvent; +- (void)handleEvents; - (void)registerDisplay: (OGKDisplay*)display; - (void)unregisterDisplay: (OGKDisplay*)display; - (void)registerKeyboard; diff --git a/src/OGKEventQueue.m b/src/OGKEventQueue.m index 8a8c537..4b355fb 100644 --- a/src/OGKEventQueue.m +++ b/src/OGKEventQueue.m @@ -53,7 +53,7 @@ static int mouse_retain_count = 0; al_destroy_event_queue(eventQueue); } -- (void)handleNextEvent +- (void)handleEvents { OGKEvent *event = [[OGKEvent alloc] init]; ALLEGRO_EVENT *allegroEvent = [event OGK_allegroEvent]; diff --git a/tests/TestMain.m b/tests/TestMain.m index c72736c..f67620b 100644 --- a/tests/TestMain.m +++ b/tests/TestMain.m @@ -75,7 +75,7 @@ OF_APPLICATION_DELEGATE(TestMain) - (void)handleEvents { - [eventQueue handleNextEvent]; + [eventQueue handleEvents]; } - (void)draw