Updated the spacebar toolbox so the fonts are moved up 2 pixels.

It was causing funky artifacts on some letters that dropped down into the
background.

Here is the diff

Kent


Index: toolbox.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
retrieving revision 1.5
diff -u -r1.5 toolbox.c
--- toolbox.c   22 Dec 2002 13:43:21 -0000      1.5
+++ toolbox.c   30 Dec 2002 20:13:51 -0000
@@ -506,7 +506,7 @@
        oldcursor= get_cursor();
        set_cursor(CURSOR_STD);

-       tbfontyofs= (TBOXH-11)/2;       /* toolbox, hier stond ooit getheigh */
+       tbfontyofs= (TBOXH-11)/2 +2;    /* toolbox, hier stond ooit getheigh */
 }
This commit is contained in:
Kent Mein 2002-12-30 20:15:07 +00:00
parent 82a1469e4b
commit 85ddbc4514

@ -506,7 +506,7 @@ void bgnpupdraw(int startx, int starty, int endx, int endy)
oldcursor= get_cursor(); oldcursor= get_cursor();
set_cursor(CURSOR_STD); set_cursor(CURSOR_STD);
tbfontyofs= (TBOXH-11)/2; /* toolbox, hier stond ooit getheigh */ tbfontyofs= (TBOXH-11)/2 +2; /* toolbox, hier stond ooit getheigh */
} }
void endpupdraw(void) void endpupdraw(void)