Mercurial > hg > octave-lojdl
changeset 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 | 1a41b8ecefbc |
children | 68daf2a0b56d |
files | scripts/ChangeLog scripts/plot/private/__add_default_menu__.m |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2011-02-17 Kai Habel <kai.habel@gmx.de> + + * plot/private/__add_default_menu__.m: Rename fltk_gui_mode here + as well. + 2011-02-16 Ben Abbott <bpabbott@mac.com> * plot/subplot.m: Decrease spacing between subplots rows / columns.
--- 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