Skip to content

Commit

Permalink
Add m_ prefix to OSXWindowDelegate fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Oct 7, 2015
1 parent 6e52718 commit 0db4c1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/she/osx/window.mm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

@interface OSXWindowDelegate : NSObject
{
she::EventQueue* queue;
OSXWindow* window;
she::EventQueue* m_queue;
OSXWindow* m_window;
}
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)window;
- (BOOL)windowShouldClose:(id)sender;
Expand All @@ -32,16 +32,16 @@ - (void)mouseDragged:(NSEvent*)theEvent;

@implementation OSXWindowDelegate

- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)aWindow
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)window
{
window = aWindow;
queue = she::instance()->eventQueue();
m_window = window;
m_queue = she::instance()->eventQueue();
return self;
}

- (BOOL)windowShouldClose:(id)sender
{
[window closeDelegate]->notifyClose();
[m_window closeDelegate]->notifyClose();
return YES;
}

Expand Down

0 comments on commit 0db4c1c

Please sign in to comment.