# HG changeset patch # User John W. Eaton # Date 1435861398 14400 # Node ID 64f6d054362615c70495f99dd999d4e38ce71432 # Parent b6a59cc96bfa22cb92dc63a0b3cdb3f726dbe3ed eliminate unused static functions * Canvas.cc (rotate_enabled, zoom_direction): Delete. diff -r b6a59cc96bfa -r 64f6d0543626 libgui/graphics/Canvas.cc --- a/libgui/graphics/Canvas.cc Mon Jun 29 08:56:22 2015 -0700 +++ b/libgui/graphics/Canvas.cc Thu Jul 02 14:23:18 2015 -0400 @@ -348,18 +348,6 @@ } static bool -rotate_enabled (const graphics_object figObj) -{ - // Getting rotate mode property: - octave_value ov_rm - = Utils::properties
(figObj).get___rotate_mode__ (); - - octave_scalar_map rm = ov_rm.scalar_map_value (); - - return rm.contents ("Enable").string_value () == "on"; -} - -static bool zoom_enabled (const graphics_object figObj) { // Getting zoom mode property: @@ -383,18 +371,6 @@ return zm.contents ("Motion").string_value (); } -static std::string -zoom_direction (const graphics_object figObj) -{ - // Getting zoom mode property: - octave_value ov_zm - = Utils::properties
(figObj).get___zoom_mode__ (); - - octave_scalar_map zm = ov_zm.scalar_map_value (); - - return zm.contents ("Direction").string_value (); -} - void Canvas::select_object (graphics_object obj, QMouseEvent* event, graphics_object ¤tObj, graphics_object &axesObj)