Mercurial > hg > octave-nkf
diff scripts/plot/private/__add_default_menu__.m @ 12457:061d18124904
rename fltk_gui_mode to gui_mode
author | Kai Habel <kai.habel@gmx.de> |
---|---|
date | Thu, 17 Feb 2011 12:45:05 +0100 |
parents | 3c6e8aaa9555 |
children | d0b799dafede |
line wrap: on
line diff
--- a/scripts/plot/private/__add_default_menu__.m +++ b/scripts/plot/private/__add_default_menu__.m @@ -100,10 +100,10 @@ function guimode_cb (h, e) lbl = get(h, "label"); if (strncmp(lbl, "Pan+Zoom", 8)) - fltk_gui_mode("2D"); + gui_mode("2D"); elseif (strncmp(lbl, "Rotate+Zoom", 11)) - fltk_gui_mode("3D"); + gui_mode("3D"); elseif (strncmp(lbl, "None", 4)) - fltk_gui_mode("None"); + gui_mode("None"); endif endfunction