Lines/Shapes: Display angles in Tux tip text

When drawing lines or rotating a shape, the angle of rotation
is shown (in the instructions at the bottom).
This commit is contained in:
Bill Kendrick 2021-10-25 23:23:28 -07:00
parent 1bee12246e
commit af1bd0850e
133 changed files with 5387 additions and 3273 deletions

View file

@ -23,7 +23,7 @@
bill@newbreedsoftware.com
http://www.tuxpaint.org/
June 14, 2002 - September 6, 2021
June 14, 2002 - October 25, 2021
$Id$
*/
@ -164,12 +164,14 @@ const char *const tool_tips[NUM_TOOLS] = {
// Instruction while using Line tool (after click, before release)
#define TIP_LINE_START gettext_noop("Let go of the button to complete the line.")
#define TIP_LINE_MOVING gettext_noop("Let go of the button to complete the line. (Your line's angle is %.0f degrees.)")
// Instruction while using Shape tool (after first click, before release)
#define TIP_SHAPE_START gettext_noop("Hold the button to stretch the shape.")
// Instruction while finishing Shape tool (after release, during rotation step before second click)
#define TIP_SHAPE_NEXT gettext_noop("Move the mouse to rotate the shape. Click to draw it.")
#define TIP_SHAPE_ROTATING gettext_noop("Move the mouse to rotate the shape. Click to draw it. (It is rotated %d degrees.)")
// Notification that 'New' action was aborted (current image would have been lost)
#define TIP_NEW_ABORT gettext_noop("OK then… Lets keep drawing this one!")