mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-25 19:51:08 +02:00
macOS Cocoa improvements.
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void) resetCursorRects {
|
||||
if(auto mouseCursor = NSMakeCursor(label->mouseCursor())) {
|
||||
[self addCursorRect:self.bounds cursor:mouseCursor];
|
||||
}
|
||||
}
|
||||
|
||||
-(void) drawRect:(NSRect)rect {
|
||||
[[NSColor blackColor] setFill];
|
||||
NSRectFillUsingOperation(rect, NSCompositeSourceOver);
|
||||
|
Reference in New Issue
Block a user