Mercurial > hg > octave-nkf
diff src/graphics.h.in @ 14391:c9ec21bef97a
Fix ticklength updating (bug # 35438).
* graphics.cc: (axes::properties::update_ticklengths): include ticklength
property value.
* graphics.cc, graphics.h.in: Change update_ticklengths to update_ticklength.
* graphics.h.in: Add "u" qualifier to axes ticklength property.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 22 Feb 2012 20:06:05 -0500 |
parents | e7c74f56cd03 |
children | 7a49519913e3 |
line wrap: on
line diff
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -3824,7 +3824,7 @@ radio_property projection , "{orthographic}|perpective" radio_property tickdir mu , "{in}|out" radio_property tickdirmode u , "{auto}|manual" - array_property ticklength , default_axes_ticklength () + array_property ticklength u , default_axes_ticklength () array_property tightinset r , Matrix (1, 4, 0.0) // FIXME -- uicontextmenu should be moved here. radio_property units SU , "{normalized}|inches|centimeters|points|pixels|characters" @@ -3897,9 +3897,9 @@ void update_ydir (void) { update_camera (); update_axes_layout (); } void update_zdir (void) { update_camera (); update_axes_layout (); } - void update_ticklengths (void); - void update_tickdir (void) { update_ticklengths (); } - void update_tickdirmode (void) { update_ticklengths (); } + void update_ticklength (void); + void update_tickdir (void) { update_ticklength (); } + void update_tickdirmode (void) { update_ticklength (); } void update_xtick (void) {