changeset 8077:a4e03f9b4b8a

Fix FLTK backend update
author Michael Goffioul
date Sun, 31 Aug 2008 11:14:34 -0400
parents bac1061a36bc
children 4665276ff7f6
files src/ChangeLog src/DLD-FUNCTIONS/fltk_backend.cc
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 31 11:14:20 2008 -0400
+++ b/src/ChangeLog	Sun Aug 31 11:14:34 2008 -0400
@@ -1,3 +1,9 @@
+2008-08-31  Michael Goffioul  <michael.goffioul@gmail.com>
+
+	* DLD-FUNCTIONS/fltk_backend.cc (fltk_backend::redraw_figure,
+	fltk_backend::print_figure): Change graphics_handle argument to
+	graphics_object.
+
 2008-08-29  David Bateman  <dbateman@free.fr>
 
 	* src/graphics.cc: Replace int by octave_idx_type in multiple
--- a/src/DLD-FUNCTIONS/fltk_backend.cc	Sun Aug 31 11:14:20 2008 -0400
+++ b/src/DLD-FUNCTIONS/fltk_backend.cc	Sun Aug 31 11:14:34 2008 -0400
@@ -723,12 +723,12 @@
       }
   }
 
-  void redraw_figure (const graphics_handle& fh) const
+  void redraw_figure (const graphics_object& go) const
   {
-    figure_manager::Instance ().mark_modified (fh);
+    figure_manager::Instance ().mark_modified (go.get_handle ());
   }
 
-  void print_figure (const graphics_handle& /*fh*/,
+  void print_figure (const graphics_object& /*go*/,
 		     const std::string& /*term*/,
 		     const std::string& /*file*/, bool /*mono*/,
 		     const std::string& /*debug_file*/) const { }