[PD-cvs] pd/src desire.tk,1.1.2.58,1.1.2.59
chunlee
chunlee at users.sourceforge.net
Thu Sep 15 13:23:17 CEST 2005
- Previous message: [PD-cvs] pd/src d_soundfile.c, 1.8, 1.9 g_canvas.h, 1.11, 1.12 g_editor.c, 1.12, 1.13 g_graph.c, 1.8, 1.9 g_text.c, 1.10, 1.11 makefile, 1.19, 1.20 makefile.nt, 1.6, 1.7 s_main.c, 1.17, 1.18
- Next message: [PD-cvs] externals/iem/iemmatrix/src configure.ac, 1.3, 1.4 Makefile.in, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6531
Modified Files:
Tag: devel_0_39
desire.tk
Log Message:
small bug objectbox_update_size fixed
Index: desire.tk
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v
retrieving revision 1.1.2.58
retrieving revision 1.1.2.59
diff -C2 -d -r1.1.2.58 -r1.1.2.59
*** desire.tk 14 Sep 2005 17:38:03 -0000 1.1.2.58
--- desire.tk 15 Sep 2005 11:23:15 -0000 1.1.2.59
***************
*** 694,700 ****
#-----------------------------------------------------------------------------------#
# why didn't you use the font metrics function? --matju
set font(size) 12
- set font(width) 0
- set font(height) 0
set font(pady) 3
set font(padx) 5
--- 694,699 ----
#-----------------------------------------------------------------------------------#
# why didn't you use the font metrics function? --matju
+ # didn't know it then, was guessing the values to get it to work:/ --chun
set font(size) 12
set font(pady) 3
set font(padx) 5
***************
*** 1278,1282 ****
def* objectbox update_size {} {
global font
! set @xs [expr $font(padx)+$font(width)*([llength $@text]+$@isnew)]
set @ys [expr $font(pady)+$font(height)]
}
--- 1277,1281 ----
def* objectbox update_size {} {
global font
! set @xs [expr $font(padx)+$font(width)*([expr [string length $@text]+1]+$@isnew)]
set @ys [expr $font(pady)+$font(height)]
}
- Previous message: [PD-cvs] pd/src d_soundfile.c, 1.8, 1.9 g_canvas.h, 1.11, 1.12 g_editor.c, 1.12, 1.13 g_graph.c, 1.8, 1.9 g_text.c, 1.10, 1.11 makefile, 1.19, 1.20 makefile.nt, 1.6, 1.7 s_main.c, 1.17, 1.18
- Next message: [PD-cvs] externals/iem/iemmatrix/src configure.ac, 1.3, 1.4 Makefile.in, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list