Hi all,
El lun, 16-10-2006 a las 19:14 +0200, Carlos Nieves Ónega escribió:
> Ales and I have set the IRC date and time for committing this patch.
All the development about zooming while moving/copying is going in the
glist_dev CVS branch.
I updated the branch with all the development I made, and I think it is
quite usable right now.
There was a problem when I update the patch to the current CVS and split
it, so the patches in SF were not fully functional.
Patrick, I think I fixed all your comments in the SF patch tracker but
one:
1/ select a component and a net segment that is connected to a
pin and to another segment (do not select the second segment)
2/ move the selection
3/ rotate the selection
-> the stretched segment is incorrect as it connects to the old position
before rotation
I don't know how this situation is handled in gschem, so any pointer is very
welcome.
I also want to restrict the operations the user can do while moving/copying.
Right now the user
can call the attribute editor while moving or copying, and I don't think that
is a good idea.
I noticed that some actions in the menu are disabled if not available. How can
I do it?
Patrick, regarding your comment about checking if w_current->DONT_REDRAW is 1
before calling the
redraw function, see the gschem and libgeda changelog, and take a look into
o_basic.c, function
o_redraw_all:
case(ENDCOPY):
case(ENDMCOPY):
case(DRAWCOMP):
case(ENDCOMP):
/* Call the o_draw_list without redrawing, so the components */
/* coordinates get recalculated */
redraw_state = w_current->DONT_REDRAW;
w_current->DONT_REDRAW = 1;
o_draw_list(w_current, w_current->page_current->complex_place_list);
w_current->DONT_REDRAW = redraw_state;
o_drawbounding(w_current,
NULL,
w_current->page_current->complex_place_list,
x_get_darkcolor(w_current->bb_color), FALSE);
break;
o_draw_list doesn't perform any draw operation because DONT_REDRAW is 1.
However, if I remove
that call, the object is not displayed properly (when zooming while moving or
copying).
I'm not too happy with this, but it is the way I found to make it work. Do you
have an idea?
Thanks,
Carlos
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev