Rename -[handleNextEvent] -> -[handleEvents].
This commit is contained in:
parent
b88e005477
commit
0460fc7d5f
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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];
|
||||||
|
|
|
@ -75,7 +75,7 @@ OF_APPLICATION_DELEGATE(TestMain)
|
||||||
|
|
||||||
- (void)handleEvents
|
- (void)handleEvents
|
||||||
{
|
{
|
||||||
[eventQueue handleNextEvent];
|
[eventQueue handleEvents];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)draw
|
- (void)draw
|
||||||
|
|
Reference in a new issue