1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00

Break cycle of ImageManipulation and Theme

This commit is contained in:
Paul Licameli 2019-07-09 12:52:10 -04:00
parent f2f6ff3a1b
commit 395f169bad

View File

@ -10,7 +10,6 @@
#include "MemoryX.h"
#include <wx/defs.h>
#include "Theme.h"
class wxColour;
class wxImage;
@ -41,6 +40,9 @@ std::unique_ptr<wxImage> OverlayImage(wxImage * background, wxImage * foreground
wxImage * mask, int xoff, int yoff);
// JKC: will probably change name from 'teBmps' to 'tIndexBmp';
typedef int teBmps; /// The index of a bitmap resource in Theme Resources.
// Same idea, but this time the mask is an alpha channel in
// the foreground bitmap, and it's all retrieved from Themes.
std::unique_ptr<wxImage> OverlayImage(teBmps eBack, teBmps eForeground,