Mercurial > octave-nkf
changeset 12503:2c66314447f1
update axis label position after axis location changes
author | Konstantinos Poulios <logari81@gmail.com> |
---|---|
date | Mon, 07 Mar 2011 17:35:33 +0100 |
parents | 13640f7f40bb |
children | d1758f03a2ec |
files | src/ChangeLog src/graphics.h.in |
diffstat | 2 files changed, 19 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sun Mar 06 16:54:39 2011 +0100 +++ b/src/ChangeLog Mon Mar 07 17:35:33 2011 +0100 @@ -1,3 +1,12 @@ +2011-03-07 Konstantinos Poulios <logari81@googlemail.com> + + Bug #32482. + + * graphics.h.in (axes::properties::update_yaxislocation, + axes::properties::update_yaxislocation): + Hook update_ylabel_position and update_xlabel_position + respectively. + 2011-03-06 Konstantinos Poulios <logari81@googlemail.com> * graphics.cc (axes::properties::update_xlabel_position,
--- a/src/graphics.h.in Sun Mar 06 16:54:39 2011 +0100 +++ b/src/graphics.h.in Mon Mar 07 17:35:33 2011 +0100 @@ -3315,8 +3315,16 @@ void update_plotboxaspectratiomode (void) { sync_positions (); } void update_layer (void) { update_axes_layout (); } - void update_yaxislocation (void) { update_axes_layout (); } - void update_xaxislocation (void) { update_axes_layout (); } + void update_yaxislocation (void) + { + update_axes_layout (); + update_ylabel_position (); + } + void update_xaxislocation (void) + { + update_axes_layout (); + update_xlabel_position (); + } void update_xdir (void) { update_camera (); update_axes_layout (); } void update_ydir (void) { update_camera (); update_axes_layout (); }