mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-15 13:53:28 +00:00
cocoa: more fixes
This commit is contained in:
@@ -224,12 +224,12 @@
|
||||
point->x = p.x;
|
||||
point->y = p.y;
|
||||
};
|
||||
- (void)getScreenSize:(MwRect *)rect {
|
||||
- (void)getScreenSize:(MwRect *)_rect {
|
||||
NSScreen *screen = [self->window screen];
|
||||
rect->x = [screen frame].origin.x;
|
||||
rect->y = [screen frame].origin.y;
|
||||
rect->width = [screen frame].size.width;
|
||||
rect->height = [screen frame].size.height;
|
||||
_rect->x = [screen frame].origin.x;
|
||||
_rect->y = [screen frame].origin.y;
|
||||
_rect->width = [screen frame].size.width;
|
||||
_rect->height = [screen frame].size.height;
|
||||
};
|
||||
- (void)destroy {
|
||||
[self->window dealloc];
|
||||
|
||||
Reference in New Issue
Block a user