mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibGUI: Transfer "color has alpha channel" state
This commit is contained in:
parent
51df4bdbfc
commit
f8069418e1
4 changed files with 8 additions and 17 deletions
|
@ -38,7 +38,7 @@ public:
|
|||
virtual ~ColorInput() override;
|
||||
|
||||
bool has_alpha_channel() const { return m_color_has_alpha_channel; }
|
||||
void set_color_has_alpha_channel(bool);
|
||||
void set_color_has_alpha_channel(bool has_alpha) { m_color_has_alpha_channel = has_alpha; }
|
||||
|
||||
void set_color(Color);
|
||||
Color color() { return m_color; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue