METHOD: id switchDarkTheme: id app [ dark-mode f ] ;
+ METHOD: id switchWombatTheme: id app [ wombat-mode f ] ;
+
+ METHOD: id switchBase16Theme: id app [ base16-mode f ] ;
+
METHOD: id refreshAll: id app [ [ refresh-all ] \ refresh-all call-listener f ] ;
;CLASS>
-: install-app-delegate ( -- )
+: install-workspace-delegate ( -- )
NSApp FactorWorkspaceApplicationDelegate install-delegate ;
! Service support; evaluate Factor code from other apps
FUNCTION: void NSUpdateDynamicServices ( )
[
- install-app-delegate
+ install-workspace-delegate
"Factor.nib" load-nib
register-services
] cocoa-startup-hook set-global