mac: support delayed creation of the view's context, for anything whose size starts at 0x0
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-10 17:10:47 -07:00
commit d9ee157ee8
2 changed files with 43 additions and 26 deletions

View file

@ -89,6 +89,7 @@
float height;
}
- (void)initRepAndContextWithWidth:(float)w Height:(float)h;
- (NSGraphicsContext *)context;
- (void)destroy;
- (NSBitmapImageRep *)getRep;
@ -153,9 +154,10 @@
- (void)destroy;
- (void)sendClipboardEvent;
- (MilskoCocoaWindow *)parentWindow;
- (MwLL)getParent;
- (NSView *)getView;
- (MilskoCocoaWindow *)getWindow;
- (MilskoFakePointer *)getHandle;
+ (void)eventCanceller:(MilskoCocoa *)this;