]> git.sur5r.net Git - glabels/commit
2004-02-02 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Tue, 3 Feb 2004 02:11:36 +0000 (02:11 +0000)
committerJim Evins <evins@snaught.com>
Tue, 3 Feb 2004 02:11:36 +0000 (02:11 +0000)
commit6c3073bcc36e8c9e2c46e743b48f559970a14e12
tree2efebc123a558f7b84de79d8d5e937771ea30641
parent66a83b58e4427fffbb7181528d6754a31513de07
2004-02-02  Jim Evins  <evins@snaught.com>

* src/label-object.h:
* src/label-object.c: (gl_label_object_set_size),
(gl_label_object_set_size_honor_aspect):
Added gl_label_object_set_size_honor_aspect() which will maintain the
current aspect ratio by modifying the supplied w or h apropriately.

* src/view-highlight.c: (tl_resize_event_handler),
(tr_resize_event_handler), (bl_resize_event_handler),
(br_resize_event_handler):
Corner handles will now maintain the current aspect ratio if the
control key is pressed while resizing.  This addresses feature
request #816603.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@409 f5e0f49d-192f-0410-a22d-a8d8700d0965
glabels2/ChangeLog
glabels2/src/label-object.c
glabels2/src/label-object.h
glabels2/src/view-highlight.c