note description: "Cocoa implementation for SD_SYSTEM_SETTER." author: "Daniel Furrer" date: "$Date$" revision: "$Revision$" class SD_SYSTEM_SETTER_IMP inherit SD_SYSTEM_SETTER EV_ANY_HANDLER feature -- Command before_enable_capture do end after_disable_capture do end is_remote_desktop: BOOLEAN do end is_during_pnd: BOOLEAN -- If mouse is in Pick and Drop mode now? do end clear_background_for_theme (a_widget: EV_DRAWING_AREA; a_rect: EV_RECTANGLE) local path: NS_BEZIER_PATH do check attached {EV_DRAWING_AREA_IMP} a_widget.implementation as l_widget_imp then l_widget_imp.prepare_drawing ;(create {NS_COLOR}.control_color).set create path.make_with_rect (create {NS_RECT}.make_rect (a_rect.x, a_rect.y, a_rect.width, a_rect.height)) path.fill l_widget_imp.finish_drawing end end note copyright: "Copyright (c) 1984-2017, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end