Inserting a dead tool button to get ones after Text and Label to line up nice.

Improved Label tool icon.
Improved Label tool "Select mode" button icon.
This commit is contained in:
William Kendrick 2009-10-10 06:54:37 +00:00
parent 239d4744fe
commit 56205ba9c8
4 changed files with 14 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 718 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

View file

@ -41,6 +41,7 @@ enum
TOOL_SHAPES,
TOOL_TEXT,
TOOL_LABEL,
TOOL_NA,
TOOL_MAGIC,
TOOL_UNDO,
TOOL_REDO,
@ -75,6 +76,9 @@ const char *const tool_names[NUM_TOOLS] = {
// Label tool
gettext_noop("Label"),
// Reserved...
gettext_noop(""),
// "Magic" effects tools (blur, flip image, etc.)
gettext_noop("Magic"),
@ -125,6 +129,9 @@ const char *const tool_tips[NUM_TOOLS] = {
// Label tool instructions
gettext_noop("Choose a style of text. Click on your drawing and you can start typing. Press [Enter] or [Tab] to complete the text. By using the selector button and clicking an exist label, you can move it, edit it and change its text style."),
// Reserved...
gettext_noop(""),
// Magic tool instruction
gettext_noop("Pick a magical effect to use on your drawing!"),
@ -175,6 +182,7 @@ const char *const tool_img_fnames[NUM_TOOLS] = {
DATA_PREFIX "images/tools/shapes.png",
DATA_PREFIX "images/tools/text.png",
DATA_PREFIX "images/tools/label.png",
DATA_PREFIX "images/ui/dead40x40.png",
DATA_PREFIX "images/tools/magic.png",
DATA_PREFIX "images/tools/undo.png",
DATA_PREFIX "images/tools/redo.png",
@ -197,6 +205,7 @@ const int tool_tux[NUM_TOOLS] = {
TUX_DEFAULT,
TUX_DEFAULT,
TUX_DEFAULT,
TUX_DEFAULT,
TUX_OOPS,
TUX_WAIT,
TUX_DEFAULT,

View file

@ -10889,6 +10889,11 @@ static void reset_avail_tools(void)
tool_avail[TOOL_LABEL] = 0;
/* TBD... */
tool_avail[TOOL_NA] = 0;
/* Disable save? */
if (disable_save)