Skip to content

Commit

Permalink
Allow editing images directly in image scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Oct 2, 2023
1 parent 67ff8c6 commit c849f2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/base/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,10 @@ namespace Wisteria::Images::Schemes
[[nodiscard]]
const std::vector<wxBitmapBundle>& GetImages() const noexcept
{ return m_images; }
/// @private
[[nodiscard]]
std::vector<wxBitmapBundle>& 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).
Expand Down

0 comments on commit c849f2a

Please sign in to comment.