diff src/graphics.cc @ 13804:4f112bebd474

use correct method to get window position for fltk * __init_fltk__.cc (figure_manager::do_new_window): Use figure::properties::get_boundingbox instead of convert_position and screen_size_pixels. * grpahics.h.in, graphics.cc (convert_position, screen_size_pixels): Undo previous change, making these functions static once again.
author John W. Eaton <jwe@octave.org>
date Thu, 03 Nov 2011 11:35:47 -0400
parents 195ff3561152
children 7ee18dc46bbb
line wrap: on
line diff
--- a/src/graphics.cc	Thu Nov 03 05:30:45 2011 -0400
+++ b/src/graphics.cc	Thu Nov 03 11:35:47 2011 -0400
@@ -411,7 +411,7 @@
   return new_font_size;
 }
 
-Matrix
+static Matrix
 convert_position (const Matrix& pos, const caseless_str& from_units,
                   const caseless_str& to_units, const Matrix& parent_dim)
 {
@@ -635,7 +635,7 @@
 }
 
 // This function always returns the screensize in pixels
-Matrix
+static Matrix
 screen_size_pixels (void)
 {
   graphics_object obj = gh_manager::get_object (0);