mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +00:00
Add m_ prefix to OSXWindowDelegate fields
This commit is contained in:
parent
6e5271848c
commit
0db4c1c664
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
@interface OSXWindowDelegate : NSObject
|
@interface OSXWindowDelegate : NSObject
|
||||||
{
|
{
|
||||||
she::EventQueue* queue;
|
she::EventQueue* m_queue;
|
||||||
OSXWindow* window;
|
OSXWindow* m_window;
|
||||||
}
|
}
|
||||||
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)window;
|
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)window;
|
||||||
- (BOOL)windowShouldClose:(id)sender;
|
- (BOOL)windowShouldClose:(id)sender;
|
||||||
@ -32,16 +32,16 @@
|
|||||||
|
|
||||||
@implementation OSXWindowDelegate
|
@implementation OSXWindowDelegate
|
||||||
|
|
||||||
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)aWindow
|
- (OSXWindowDelegate*)initWithWindow:(OSXWindow*)window
|
||||||
{
|
{
|
||||||
window = aWindow;
|
m_window = window;
|
||||||
queue = she::instance()->eventQueue();
|
m_queue = she::instance()->eventQueue();
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)windowShouldClose:(id)sender
|
- (BOOL)windowShouldClose:(id)sender
|
||||||
{
|
{
|
||||||
[window closeDelegate]->notifyClose();
|
[m_window closeDelegate]->notifyClose();
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user