From 69635b3af86a628af4275c3b8c025cfd2b836b84 Mon Sep 17 00:00:00 2001 From: larspalo Date: Sat, 16 Mar 2024 12:55:18 +0100 Subject: [PATCH 1/2] Increased maximum allowed (panel) size to 32000. --- CHANGELOG.md | 1 + help/grandorgue.xml | 4 ++-- src/core/config/GOConfigReader.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ac1208cd..6ebaef2e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- Increased maximum value of allowed size to 32000 https://github.com/GrandOrgue/grandorgue/issues/1840 - Added capability of specifying AmplitudeLevel, Gain, PitchTuning, PitchCorrection and TrackerDelay, Percussive, HasIndependentRelease at the WindchestGroup level of ODF - Added capability of specifying Percussive and HasIndependentRelease at the Organ level of ODF - Added capability of playing release of percussive pipes with Pipe999HasIndependentRelease=Y https://github.com/GrandOrgue/grandorgue/issues/1385 diff --git a/help/grandorgue.xml b/help/grandorgue.xml index c9bf311f5..cf94e592a 100644 --- a/help/grandorgue.xml +++ b/help/grandorgue.xml @@ -3,7 +3,7 @@ GrandOrgue Help @@ -6533,7 +6533,7 @@ or an integer number between 1 and 50. A panel size can be one of the following values: SMALL, MEDIUM, MEDIUM LARGE, LARGE -or an integer number between 100 and 4000. +or an integer number between 100 and 32000. The following image formats are supported: bmp, gif, jpg, ico, png diff --git a/src/core/config/GOConfigReader.cpp b/src/core/config/GOConfigReader.cpp index 9b505c4bc..f28785bf5 100644 --- a/src/core/config/GOConfigReader.cpp +++ b/src/core/config/GOConfigReader.cpp @@ -541,7 +541,7 @@ unsigned GOConfigReader::ReadSize( long size; if (parseLong(size, value)) - if (100 <= size && size <= 4000) + if (100 <= size && size <= 32000) return size; wxString error; From 935f27c4cc903e7b83d32bc6348f9ffdde53f50b Mon Sep 17 00:00:00 2001 From: larspalo Date: Sat, 16 Mar 2024 13:48:07 +0100 Subject: [PATCH 2/2] Increased window size limit for the size keeper. --- src/grandorgue/size/GOSizeKeeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grandorgue/size/GOSizeKeeper.cpp b/src/grandorgue/size/GOSizeKeeper.cpp index e7310ed47..b7cd06045 100644 --- a/src/grandorgue/size/GOSizeKeeper.cpp +++ b/src/grandorgue/size/GOSizeKeeper.cpp @@ -13,7 +13,7 @@ #include "config/GOConfigReader.h" #include "config/GOConfigWriter.h" -constexpr static int windowLimit = 10000; +constexpr static int windowLimit = 32000; const wxString WX_WINDOW_X = wxT("WindowX"); const wxString WX_WINDOW_Y = wxT("WindowY");