cocoa: add ?-> to remember messages being used at runtime.
parent
d94977ac0c
commit
a99f66f505
|
@ -16,6 +16,8 @@ SYMBOL: sent-messages
|
||||||
|
|
||||||
SYNTAX: -> scan-token dup remember-send suffix! \ send suffix! ;
|
SYNTAX: -> scan-token dup remember-send suffix! \ send suffix! ;
|
||||||
|
|
||||||
|
SYNTAX: ?-> scan-token [ remember-send ] [ <selector> drop ] bi ;
|
||||||
|
|
||||||
SYMBOL: super-sent-messages
|
SYMBOL: super-sent-messages
|
||||||
|
|
||||||
: remember-super-send ( selector -- )
|
: remember-super-send ( selector -- )
|
||||||
|
|
|
@ -151,6 +151,9 @@ CLASS: FactorView < NSOpenGLView NSTextInput
|
||||||
|
|
||||||
METHOD: void prepareOpenGL [
|
METHOD: void prepareOpenGL [
|
||||||
|
|
||||||
|
?-> setWantsBestResolutionOpenGLSurface:
|
||||||
|
?-> backingScaleFactor
|
||||||
|
|
||||||
self "setWantsBestResolutionOpenGLSurface:"
|
self "setWantsBestResolutionOpenGLSurface:"
|
||||||
lookup-selector -> respondsToSelector: c-bool> [
|
lookup-selector -> respondsToSelector: c-bool> [
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue