ui.backend.cocoa.views: Remove touchbar stuff for now.

modern-harvey2
Doug Coleman 2017-11-22 16:28:11 -06:00
parent 1a1e407939
commit c73541919c
1 changed files with 0 additions and 23 deletions

View File

@ -182,29 +182,6 @@ CONSTANT: selector>action H{
] when ] when
] ; ] ;
METHOD: void refreshAllAction [
[ refresh-all ] \ refresh-all call-listener
] ;
METHOD: void autoUseAction [
[ com-auto-use ] \ com-auto-use call-listener
] ;
METHOD: Class makeTouchBar [ default-touchbar self make-touchbar ] ;
METHOD: Class touchBar: Class touchbar makeItemForIdentifier: Class string [
string CFString>string
{
{ "refresh-all-action" [
self "refresh-all-action" "refresh-all" "refreshAllAction" make-NSTouchBar-button
] }
{ "auto-use-action" [
self "auto-use-action" "auto-use" "autoUseAction" make-NSTouchBar-button
] }
[ drop f ]
} case
] ;
! Rendering ! Rendering
METHOD: void drawRect: NSRect rect [ self window [ draw-world ] when* ] ; METHOD: void drawRect: NSRect rect [ self window [ draw-world ] when* ] ;