Texture: Add invisible color when copying textures

This should probably support proper alpha blending but I'm lazy :)
This commit is contained in:
2025-06-27 13:00:22 +03:00
parent 397219c22e
commit 7bf7bfbe13
2 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,9 @@ namespace LibGUI
class Texture
{
public:
static constexpr uint32_t color_invisible = 0x69000000;
public:
static BAN::ErrorOr<Texture> create(uint32_t width, uint32_t height, uint32_t color);
Texture() = default;