did some code cleanup
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
b585ad69b7
commit
f700e90d23
2 changed files with 6 additions and 6 deletions
|
|
@ -117,7 +117,6 @@
|
|||
- (void)getCursorCoord:(MwPoint *)point;
|
||||
- (void)getScreenSize:(MwRect *)rect;
|
||||
- (void)destroy;
|
||||
- (void)setHandle:(MwLL)h;
|
||||
|
||||
- (NSWindow *)parentWindow;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
#include "Mw/BaseTypes.h"
|
||||
#include "Mw/LowLevel.h"
|
||||
#include <Mw/Milsko.h>
|
||||
|
||||
#pragma clang push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
@implementation MilskoCocoaPixmap
|
||||
|
||||
+ (MilskoCocoaPixmap *)newWithWidth:(int)width height:(int)height {
|
||||
|
|
@ -92,8 +93,8 @@
|
|||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
}
|
||||
c->window.delegate =
|
||||
[[MilskoCocoaWindowDelegate alloc] initWithWin:c->window];
|
||||
c->window.delegate = (id<NSWindowDelegate>)[[MilskoCocoaWindowDelegate alloc]
|
||||
initWithWin:c->window];
|
||||
|
||||
[c->window makeKeyAndOrderFront:c->application];
|
||||
|
||||
|
|
@ -625,10 +626,10 @@ static int MwLLPendingImpl(MwLL handle) {
|
|||
MwLLDispatch(handle, draw, NULL);
|
||||
return 1;
|
||||
};
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void MwLLNextEventImpl(MwLL handle) {
|
||||
|
||||
MilskoCocoa *h = handle->cocoa.real;
|
||||
[h getNextEvent];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue