|
|
|
@ -156,6 +156,7 @@ public: |
|
|
|
@autoreleasepool |
|
|
|
{ |
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
|
|
|
|
return S_OK; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -803,6 +804,17 @@ protected: |
|
|
|
{ |
|
|
|
return NSWindowStyleMaskBorderless; |
|
|
|
} |
|
|
|
|
|
|
|
virtual HRESULT Resize(double x, double y) |
|
|
|
{ |
|
|
|
@autoreleasepool |
|
|
|
{ |
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
|
|
|
|
[Window setFrameTopLeftPoint:ToNSPoint(ConvertPointY(lastPositionSet))]; |
|
|
|
return S_OK; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
extern IAvnPopup* CreateAvnPopup(IAvnWindowEvents*events) |
|
|
|
|