mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Break cycle of ImageManipulation and Theme
This commit is contained in:
parent
f2f6ff3a1b
commit
395f169bad
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "MemoryX.h"
|
#include "MemoryX.h"
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
#include "Theme.h"
|
|
||||||
|
|
||||||
class wxColour;
|
class wxColour;
|
||||||
class wxImage;
|
class wxImage;
|
||||||
@ -41,6 +40,9 @@ std::unique_ptr<wxImage> OverlayImage(wxImage * background, wxImage * foreground
|
|||||||
wxImage * mask, int xoff, int yoff);
|
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
|
// Same idea, but this time the mask is an alpha channel in
|
||||||
// the foreground bitmap, and it's all retrieved from Themes.
|
// the foreground bitmap, and it's all retrieved from Themes.
|
||||||
std::unique_ptr<wxImage> OverlayImage(teBmps eBack, teBmps eForeground,
|
std::unique_ptr<wxImage> OverlayImage(teBmps eBack, teBmps eForeground,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user