Definition at line 15 of file Window_mac.mm.
◆ initWithWindow:
Initial value:
Definition at line 177 of file Window_mac.mm.
194 fWindow = initWindow;
195
196 return self;
197}
◆ windowDidResize:
- (void) windowDidResize: |
|
(NSNotification *) |
notification |
|
|
implementation |
Definition at line 177 of file Window_mac.mm.
199 :(NSNotification *)notification {
200 NSView* view = fWindow->window().contentView;
202 fWindow->onResize(view.bounds.size.width *
scale, view.bounds.size.height *
scale);
203 fWindow->inval();
204}
static CGFloat GetBackingScaleFactor(NSView *view)
◆ windowShouldClose:
- (BOOL) windowShouldClose: |
|
(NSWindow*) |
sender |
|
|
implementation |
Definition at line 177 of file Window_mac.mm.
206 :(NSWindow*)sender {
207 fWindow->closeWindow();
208
210}
The documentation for this class was generated from the following file: