mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-09 07:18:45 -04:00
Provide Set*Mod with default values, such so no-arg call will reset modifier to default
This commit is contained in:
parent
96576e112d
commit
4c46058a4b
@ -50,8 +50,8 @@ public:
|
||||
void Update(const Rect& rect, const void* pixels, int pitch);
|
||||
|
||||
void SetBlendMode(SDL_BlendMode blendMode);
|
||||
void SetAlphaMod(Uint8 alpha);
|
||||
void SetColorMod(Uint8 r, Uint8 g, Uint8 b);
|
||||
void SetAlphaMod(Uint8 alpha = 255);
|
||||
void SetColorMod(Uint8 r = 255, Uint8 g = 255, Uint8 b = 255);
|
||||
|
||||
void Swap(Texture& other) noexcept;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user