Initial integration of Bruno's Label tool, with tons of help from Pere.

This commit is contained in:
William Kendrick 2009-10-04 05:49:47 +00:00
parent 7b7880307d
commit a90f2548dc
92 changed files with 10535 additions and 7408 deletions

View file

@ -41,6 +41,7 @@ enum
TOOL_SHAPES,
TOOL_TEXT,
TOOL_MAGIC,
TOOL_LABEL,
TOOL_UNDO,
TOOL_REDO,
TOOL_ERASER,
@ -74,6 +75,9 @@ const char *const tool_names[NUM_TOOLS] = {
// "Magic" effects tools (blur, flip image, etc.)
gettext_noop("Magic"),
// Label tool
gettext_noop("Label"),
// Undo last action
gettext_noop("Undo"),
@ -121,6 +125,9 @@ const char *const tool_tips[NUM_TOOLS] = {
// Magic tool instruction
gettext_noop("Pick a magical effect to use on your drawing!"),
// Label tool instructions
gettext_noop("Choose a style of text. Click on your drawing and you can start typing. Click on the wheel to rotate the text. Click on the edit button and select a label to edit."),
// Response to 'undo' action
gettext_noop("Undo!"),
@ -168,6 +175,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/magic.png",
DATA_PREFIX "images/tools/label.png",
DATA_PREFIX "images/tools/undo.png",
DATA_PREFIX "images/tools/redo.png",
DATA_PREFIX "images/tools/eraser.png",
@ -188,6 +196,7 @@ const int tool_tux[NUM_TOOLS] = {
TUX_DEFAULT,
TUX_DEFAULT,
TUX_DEFAULT,
TUX_DEFAULT,
TUX_OOPS,
TUX_WAIT,
TUX_DEFAULT,