Modify the drawing of the grips to set a hard limit on the screen size
commita34e326784706cb761ba689a75bef19a5b1ee880
authorMark Rages <markrages@gmail.com>
Sat, 29 Aug 2009 21:05:06 +0000 (29 17:05 -0400)
committerAles Hvezda <ahvezda@seul.org>
Sat, 29 Aug 2009 21:05:06 +0000 (29 17:05 -0400)
tree68a6a3381c46a3e5965e482dca04be4215364cd1
parentb0fa7dd7839915703d9101006bed1c7305477e30
Modify the drawing of the grips to set a hard limit on the screen size

This patch changes the size of the grips in gschem.  In the past, the
grip size was always directly related to the zoom factor (you would
get really large grips when zoomed in a lot).  Now the grip sizes are a
fixed size at certain zoom factors (grip sizes are reasonably sized when
zoomed in a lot).  This patch also renders the grips on top of endpoint
cues so that you can see the grip rectangle when you are zoomed in a lot
(there might be a better way of doing this, but this works for now).

Signed-off-by: Ales Hvezda <ahvezda@seul.org>
gschem/include/gschem_defines.h
gschem/src/o_cue.c
gschem/src/o_grips.c