changeset 20327:64f6d0543626

eliminate unused static functions * Canvas.cc (rotate_enabled, zoom_direction): Delete.
author John W. Eaton <jwe@octave.org>
date Thu, 02 Jul 2015 14:23:18 -0400
parents b6a59cc96bfa
children d6879b59f46f
files libgui/graphics/Canvas.cc
diffstat 1 files changed, 0 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- 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<figure> (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<figure> (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 &currentObj, graphics_object &axesObj)