[PD-dev] [ pure-data-Patches-1943301 ] move instead of redraw GUI objects 'graphed on parent

SourceForge.net noreply at sourceforge.net
Thu Apr 24 21:56:13 CEST 2008


Patches item #1943301, was opened at 2008-04-15 15:09
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1943301&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: puredata
Group: feature
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: move instead of redraw GUI objects 'graphed on parent

Initial Comment:
New widget behavior 'graphfn' which gets called by graph_displace function and only uses Tk command 'move' to move graphics instead of erasing and recreating them.

Patch also adds graphfn functions to all the pd-vanilla GUI objects.

Also some modification inside g_array.c to remove unnecessary multiple visualizations of garrays.

Result: improved performace of array drawing.

Usage: invoke the patch inside the 'src' folder.

Known bugs that are newly introduced by this patch:
- Array name is not visible immediately after inserting an array. It gets drawn though at first redraw of the array after the array has been moved from the border of the canvas.
- Comments that are 'graphed on parent' don't move with graph. However, they are drawn at the right place when their redrawing occurs.

Fixes come soon.

Jakob Leben

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-24 15:56

Message:
Logged In: YES 
user_id=27104
Originator: NO

closed since this is replaced by #1948146

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-15 18:59

Message:
Logged In: YES 
user_id=27104
Originator: NO

This patch seems to include a lot of whitespace changes, making it very
hard to read.  Can you recreate it in 'diff -uw' format please?  :)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1943301&group_id=55736




More information about the Pd-dev mailing list