Icons for most of the new Magic Tools that were lacking them.

This commit is contained in:
William Kendrick 2009-05-06 22:11:54 +00:00
parent 8be6c384bd
commit 0bb1269680
14 changed files with 24 additions and 16 deletions

View file

@ -7,7 +7,7 @@
Credits: Andrew Corcoran <akanewbie@gmail.com>
Copyright (c) 2002-2007 by Bill Kendrick and others; see AUTHORS.txt
Copyright (c) 2002-2009 by Bill Kendrick and others; see AUTHORS.txt
bill@newbreedsoftware.com
http://www.tuxpaint.org/
@ -26,7 +26,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: June 6, 2008
Last updated: May 6, 2009
$Id$
*/
@ -61,10 +61,10 @@ enum {
static Mix_Chunk * mosaic_snd_effect[mosaic_NUM_TOOLS];
const char * mosaic_snd_filenames[mosaic_NUM_TOOLS] = {
"flip.wav",
"flip.wav", /* FIXME */
};
const char * mosaic_icon_filenames[mosaic_NUM_TOOLS] = {
"flip.png",
"mosaic.png",
};
const char * mosaic_names[mosaic_NUM_TOOLS] = {
gettext_noop("Mosaic"),

View file

@ -6,7 +6,7 @@
Credits: Andrew Corcoran <akanewbie@gmail.com>
Copyright (c) 2002-2008 by Bill Kendrick and others; see AUTHORS.txt
Copyright (c) 2002-2009 by Bill Kendrick and others; see AUTHORS.txt
bill@newbreedsoftware.com
http://www.tuxpaint.org/
@ -25,7 +25,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: July 8, 2008
Last updated: May 6, 2009
$Id$
*/
@ -62,12 +62,12 @@ static Mix_Chunk * sharpen_snd_effect[sharpen_NUM_TOOLS];
const char * sharpen_snd_filenames[sharpen_NUM_TOOLS] = {
"edges.ogg",
"sharpen.ogg",
"flip.wav"
"flip.wav" /* FIXME */
};
const char * sharpen_icon_filenames[sharpen_NUM_TOOLS] = {
"edges.png",
"sharpen.png",
"flip.png"
"silhouette.png"
};
const char * sharpen_names[sharpen_NUM_TOOLS] = {
gettext_noop("Edges"),

View file

@ -10,7 +10,7 @@
Credits: Andrew Corcoran <akanewbie@gmail.com>
Copyright (c) 2002-2008 by Bill Kendrick and others; see AUTHORS.txt
Copyright (c) 2002-2009 by Bill Kendrick and others; see AUTHORS.txt
bill@newbreedsoftware.com
http://www.tuxpaint.org/
@ -29,7 +29,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: July 8, 2008
Last updated: May 6, 2009
$Id$
*/
@ -61,11 +61,11 @@ static Mix_Chunk * tint_snd_effect[tint_NUM_TOOLS];
const char * tint_snd_filenames[tint_NUM_TOOLS] = {
"tint.wav",
"flip.wav"
"flip.wav" /* FIXME */
};
const char * tint_icon_filenames[tint_NUM_TOOLS] = {
"tint.png",
"flip.png"
"colornwhite.png"
};
const char * tint_names[tint_NUM_TOOLS] = {
gettext_noop("Tint"),

View file

@ -64,7 +64,7 @@ SDL_Surface * waves_get_icon(magic_api * api, int which)
char fname[1024];
if (!which) snprintf(fname, sizeof(fname), "%s/images/magic/waves.png", api->data_directory);
else snprintf(fname, sizeof(fname), "%s/images/magic/waves-v.png", api->data_directory);
else snprintf(fname, sizeof(fname), "%s/images/magic/wavelet.png", api->data_directory);
return(IMG_Load(fname));
}