From 649cde39edfea087c13ebe9ccf6a6f2f4e858163 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Sun, 9 Apr 2023 21:53:23 -0700 Subject: [PATCH] Shapes: Octagon: Allow stretching No real reason to lock to 1:1 aspect ratio; the others do not (except circle and square). --- docs/CHANGES.txt | 4 ++++ src/shapes.h | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 6278ac348..b774ad723 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,6 +7,10 @@ Various contributors (see below, and AUTHORS.txt) https://tuxpaint.org/ 2023.April.8 (0.9.30) + * Improvements to Shape tool: + --------------------------- + * Octagon allows aspect ratio change + * Localization Updates: --------------------- * Chinese (Simplified) translation diff --git a/src/shapes.h b/src/shapes.h index 7b2967bdf..962f6c11b 100644 --- a/src/shapes.h +++ b/src/shapes.h @@ -4,7 +4,7 @@ For Tux Paint List of available shapes. - Copyright (c) 2002-2022 by Bill Kendrick and others + Copyright (c) 2002-2023 by Bill Kendrick and others bill@newbreedsoftware.com https://tuxpaint.org/ @@ -23,8 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - December 11, 2022 - $Id$ + June 14, 2002 - April 9, 2023 */ @@ -118,8 +117,8 @@ const int shape_locked[NUM_SHAPES] = { 0, /* Hexagon */ 0, /* Heptagon */ 0, /* Heptagon */ - 1, /* Octagon *//* FIXME: Consider unlocking? -bjk 2022.01.21 */ - 1, /* Octagon *//* FIXME: Consider unlocking? -bjk 2022.01.21 */ + 0, /* Octagon */ + 0, /* Octagon */ 0, /* Rhombus */ 0, /* Rhombus */ 0, /* 3 points star */