| Index: core/fxge/fx_dib.h
|
| diff --git a/core/fxge/fx_dib.h b/core/fxge/fx_dib.h
|
| index ed2b47f9c140174f7792df675d25a238e8e5124e..c083bf732fd94e535438976efeeb7cbc8c4fe849 100644
|
| --- a/core/fxge/fx_dib.h
|
| +++ b/core/fxge/fx_dib.h
|
| @@ -213,7 +213,8 @@ class CFX_DIBSource {
|
| SetPaletteEntry(index, color);
|
| }
|
|
|
| - void CopyPalette(const uint32_t* pSrcPal);
|
| + // Copies into internally-owned palette.
|
| + void SetPalette(const uint32_t* pSrcPal);
|
|
|
| std::unique_ptr<CFX_DIBitmap> Clone(const FX_RECT* pClip = nullptr) const;
|
| std::unique_ptr<CFX_DIBitmap> CloneConvert(FXDIB_Format format) const;
|
| @@ -229,9 +230,12 @@ class CFX_DIBSource {
|
| uint32_t flags = 0,
|
| const FX_RECT* pClip = nullptr) const;
|
|
|
| - CFX_DIBitmap* GetAlphaMask(const FX_RECT* pClip = nullptr) const;
|
| - bool CopyAlphaMask(const CFX_DIBSource* pAlphaMask,
|
| - const FX_RECT* pClip = nullptr);
|
| + std::unique_ptr<CFX_DIBitmap> CloneAlphaMask(
|
| + const FX_RECT* pClip = nullptr) const;
|
| +
|
| + // Copies into internally-owned mask.
|
| + bool SetAlphaMask(const CFX_DIBSource* pAlphaMask,
|
| + const FX_RECT* pClip = nullptr);
|
|
|
| CFX_DIBitmap* SwapXY(bool bXFlip,
|
| bool bYFlip,
|
|
|