Made UI fonts a little smaller. Adjusted position of icons and text
in tool buttons.
This commit is contained in:
parent
0d0e0a7cb7
commit
444cdf2a34
2 changed files with 8 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ bill@newbreedsoftware.com
|
||||||
http://www.newbreedsoftware.com/tuxpaint/
|
http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
|
|
||||||
2005.November.23 (0.9.15)
|
2005.November.25 (0.9.15)
|
||||||
|
|
||||||
* Speed improvements:
|
* Speed improvements:
|
||||||
-------------------
|
-------------------
|
||||||
|
|
@ -128,6 +128,9 @@ http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
* Interface improvements:
|
* 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.
|
* 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 "Shrink" and "Grow" buttons didn't give any feedback as to what
|
||||||
the current size was.
|
the current size was.
|
||||||
|
|
|
||||||
|
|
@ -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
|
#if 0
|
||||||
// put elsewhere for THREADED_FONTS
|
// put elsewhere for THREADED_FONTS
|
||||||
|
|
@ -9227,13 +9227,13 @@ static void draw_toolbar(void)
|
||||||
SDL_BlitSurface(button_color, NULL, img_tool_names[i], NULL);
|
SDL_BlitSurface(button_color, NULL, img_tool_names[i], NULL);
|
||||||
|
|
||||||
dest.x = ((i % 2) * 48) + 4;
|
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);
|
SDL_BlitSurface(img_tools[i], NULL, screen, &dest);
|
||||||
|
|
||||||
|
|
||||||
dest.x = ((i % 2) * 48) + 4 + (40 - img_tool_names[i]->w) / 2;
|
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);
|
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: */
|
/* Determine radius/shape of the shape to draw: */
|
||||||
|
|
||||||
old_brush = 0;
|
old_brush = 0;
|
||||||
|
|
||||||
rx = ox - cx;
|
rx = ox - cx;
|
||||||
ry = oy - cy;
|
ry = oy - cy;
|
||||||
|
|
||||||
|
|
||||||
/* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */
|
/* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */
|
||||||
|
|
||||||
if (shape_locked[cur_shape])
|
if (shape_locked[cur_shape])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue