Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19821
Modified Files: Tag: devel_0_39 desire.tk TODO Log Message: new canvas in edit mode as default, dash rect selection box
Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.98 retrieving revision 1.1.2.99 diff -C2 -d -r1.1.2.98 -r1.1.2.99 *** desire.tk 2 Nov 2005 13:51:29 -0000 1.1.2.98 --- desire.tk 2 Nov 2005 14:48:36 -0000 1.1.2.99 *************** *** 762,766 **** #-----------------------------------------------------------------------------------#
! def* canvas init {{width 400} {height 300} {geometry +0+0} {editable 0}} { super global pd_opendir pd_tearoff OS cmdline canvasmenu focus --- 762,766 ---- #-----------------------------------------------------------------------------------#
! def* canvas init {{width 400} {height 300} {geometry +0+0} {editable 1}} { super global pd_opendir pd_tearoff OS cmdline canvasmenu focus *************** *** 810,814 **** $self canvas= $self #not sure if init should be calling pd, but it fixes the editmode bug for now -chun ! pd $name editmode 0 }
--- 810,814 ---- $self canvas= $self #not sure if init should be calling pd, but it fixes the editmode bug for now -chun ! pd $name editmode $editmode }
*************** *** 932,935 **** --- 932,936 ----
# wow. what is this for? + # to switch between edit/run mode with ctrl+1 -chun def canvas editmodeswitch {args} { set name .x$self *************** *** 1593,1599 **** # set @selection_wire {} # } ! # focus $c ! # set @action rect ! # $c create line $x $y $x $y $x $y $x $y $x $y -tags {selrect1 selrect} -fill black -dash {3 3 3 3} -dashoffset 3 }
--- 1594,1600 ---- # set @selection_wire {} # } ! focus .x$self.c ! set @action rect ! .x$self.c create line $x $y $x $y $x $y $x $y $x $y -tags {selrect1 selrect} -fill black -dash {3 3 3 3} -dashoffset 3 }
*************** *** 2026,2030 **** #}
! #$x init
} --- 2027,2031 ---- #}
!
}
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/TODO,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** TODO 2 Nov 2005 01:38:52 -0000 1.1.2.2 --- TODO 2 Nov 2005 14:48:36 -0000 1.1.2.3 *************** *** 5,12 **** [c] means for Carmen
! [h] fix the new canvas default so that its in edit mode when created [h] get the object box to render correctly after editing/recreating [h] make moving object work again and shorten the necessary procs as i said i would before [h] object selection [h] wires
--- 5,13 ---- [c] means for Carmen
! [h] fix the new canvas default so that its in edit mode when created -done [h] get the object box to render correctly after editing/recreating [h] make moving object work again and shorten the necessary procs as i said i would before [h] object selection + - dash rect - done [h] wires