Made UI fonts a little smaller. Adjusted position of icons and text

in tool buttons.
This commit is contained in:
William Kendrick 2005-11-26 00:25:34 +00:00
parent 0d0e0a7cb7
commit 444cdf2a34
2 changed files with 8 additions and 5 deletions

View file

@ -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.

View file

@ -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])