[PD-cvs] pd/src g_rtext.c,1.5.2.3,1.5.2.4

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat May 19 06:04:33 CEST 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25692

Modified Files:
      Tag: branch-v0-39-2-extended
	g_rtext.c 
Log Message:
tweaked top and bottom margin for text in boxes so get Mac OS X matching the others

Index: g_rtext.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_rtext.c,v
retrieving revision 1.5.2.3
retrieving revision 1.5.2.4
diff -C2 -d -r1.5.2.3 -r1.5.2.4
*** g_rtext.c	20 Apr 2007 04:07:53 -0000	1.5.2.3
--- g_rtext.c	19 May 2007 04:04:30 -0000	1.5.2.4
***************
*** 18,23 ****
--- 18,29 ----
  #define LMARGIN 2
  #define RMARGIN 2
+ /* for some reason, it draws text 1 pixel lower on Mac OS X */
+ #ifdef __APPLE__
  #define TMARGIN 3
  #define BMARGIN 1
+ #else
+ #define TMARGIN 4
+ #define BMARGIN 0
+ #endif
  
  #define SEND_FIRST 1





More information about the Pd-cvs mailing list