From c849f2a7b9f4c9805a7b65d37e172390c70e8ae5 Mon Sep 17 00:00:00 2001 From: Blake-Madden Date: Mon, 2 Oct 2023 11:58:59 -0400 Subject: [PATCH] Allow editing images directly in image scheme --- src/base/image.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/base/image.h b/src/base/image.h index 61a43b6c..f3ae05ac 100644 --- a/src/base/image.h +++ b/src/base/image.h @@ -524,6 +524,10 @@ namespace Wisteria::Images::Schemes [[nodiscard]] const std::vector& GetImages() const noexcept { return m_images; } + /// @private + [[nodiscard]] + std::vector& GetImages() noexcept + { return m_images; } /** @returns The image at the given index. @param index The index into the image list to return. If index is outside the number of images, then it will recycle (i.e., wrap around).