From 444cdf2a3403834d23c1b992259283ceecfde123 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Sat, 26 Nov 2005 00:25:34 +0000 Subject: [PATCH] Made UI fonts a little smaller. Adjusted position of icons and text in tool buttons. --- docs/CHANGES.txt | 5 ++++- src/tuxpaint.c | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 594c06644..976107594 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,7 +7,7 @@ bill@newbreedsoftware.com http://www.newbreedsoftware.com/tuxpaint/ -2005.November.23 (0.9.15) +2005.November.25 (0.9.15) * Speed improvements: ------------------- @@ -128,6 +128,9 @@ http://www.newbreedsoftware.com/tuxpaint/ * Interface improvements: ----------------------- + * Made UI fonts a little smaller. Adjusted position of icons and text + in tool buttons. + * Stamp scaling is now controlled by a set of mini "slider"-like buttons. The "Shrink" and "Grow" buttons didn't give any feedback as to what the current size was. diff --git a/src/tuxpaint.c b/src/tuxpaint.c index e5952e089..21f42a6b3 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -8749,7 +8749,7 @@ static void setup(int argc, char * argv[]) } - locale_font = load_locale_font(medium_font,18); + locale_font = load_locale_font(medium_font,16); #if 0 // put elsewhere for THREADED_FONTS @@ -9227,13 +9227,13 @@ static void draw_toolbar(void) SDL_BlitSurface(button_color, NULL, img_tool_names[i], NULL); dest.x = ((i % 2) * 48) + 4; - dest.y = ((i / 2) * 48) + 40 + 4; + dest.y = ((i / 2) * 48) + 40 + 2; SDL_BlitSurface(img_tools[i], NULL, screen, &dest); dest.x = ((i % 2) * 48) + 4 + (40 - img_tool_names[i]->w) / 2; - dest.y = ((i / 2) * 48) + 40 + 4 + (44 - img_tool_names[i]->h); + dest.y = ((i / 2) * 48) + 40 + 2 + (48 - img_tool_names[i]->h); SDL_BlitSurface(img_tool_names[i], NULL, screen, &dest); } @@ -12824,10 +12824,10 @@ static void do_shape(int cx, int cy, int ox, int oy, int rotn, int use_brush) /* Determine radius/shape of the shape to draw: */ old_brush = 0; + rx = ox - cx; ry = oy - cy; - /* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */ if (shape_locked[cur_shape])