Mercurial > hg > octave-nkf
comparison src/DLD-FUNCTIONS/fltk_backend.cc @ 9974:118158f10628
fix fltk backend window buttons
author | Shai Ayal <shaiay@users.sourceforge.net> |
---|---|
date | Sat, 12 Dec 2009 19:37:09 +0200 |
parents | cd8f355157b8 |
children | 1300d9ced492 |
comparison
equal
deleted
inserted
replaced
9973:cd8f355157b8 | 9974:118158f10628 |
---|---|
363 Fl_Output* status; | 363 Fl_Output* status; |
364 | 364 |
365 void axis_auto (void) | 365 void axis_auto (void) |
366 { | 366 { |
367 octave_value_list args; | 367 octave_value_list args; |
368 args(0) = "auto"; | 368 args(0) = fp.get_currentaxes ().as_octave_value (); |
369 feval ("axis",args); | 369 args(1) = "auto"; |
370 feval ("axis", args); | |
370 mark_modified (); | 371 mark_modified (); |
371 } | 372 } |
372 | 373 |
373 void toggle_grid (void) | 374 void toggle_grid (void) |
374 { | 375 { |
375 feval ("grid"); | 376 octave_value_list args; |
377 args(0) = fp.get_currentaxes ().as_octave_value (); | |
378 feval ("grid", args); | |
376 mark_modified (); | 379 mark_modified (); |
377 } | 380 } |
378 | 381 |
379 void pixel2pos | 382 void pixel2pos |
380 (graphics_handle ax, int px, int py, double& xx, double& yy) const | 383 (graphics_handle ax, int px, int py, double& xx, double& yy) const |