OSX window resize

db4
Jon Harper 2012-11-25 23:21:24 +01:00 committed by John Benediktsson
parent 8948e8a455
commit 26beb27680
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ M: cocoa-ui-backend offscreen-pixels ( world -- alien w h )
M: cocoa-ui-backend beep ( -- )
NSBeep ;
M: cocoa-ui-backend resize-window [ handle>> window>> ] [ first2 ] bi* <CGSize> -> setContentSize: ;
M: cocoa-ui-backend system-alert
NSAlert -> alloc -> init -> autorelease [
{