mac: keyboard events and other nice refactors. they get sent to the opengl window but the callback isn't fired for some reason
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-05 19:29:43 -07:00
commit e2bcd7b9e9
3 changed files with 588 additions and 113 deletions

View file

@ -96,6 +96,7 @@
- (void)setX:(int)x Y:(int)y;
- (void)setW:(int)w H:(int)h;
- (int)pending;
- (void)eventProcess:(NSEvent *)ev;
- (void)getNextEvent;
- (void)setTitle:(const char *)title;
- (void)drawPixmap:(MwLLPixmap)pixmap rect:(MwRect *)rect;
@ -120,6 +121,8 @@
- (NSWindow *)parentWindow;
- (NSView *)getView;
- (NSWindow *)getWindow;
- (MilskoFakePointer *)getHandle;
@end
#define OBJC(x) x