mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 18:58:56 +00:00
LibGfx: Fix debug-printing colors
The operator has to live in the namespace Gfx.
This commit is contained in:
parent
1e266aec27
commit
f49e83c565
Notes:
sideshowbarker
2024-07-19 05:52:50 +09:00
Author: https://github.com/bugaevc
Commit: f49e83c565
Pull-request: https://github.com/SerenityOS/serenity/pull/2482
1 changed files with 1 additions and 1 deletions
|
@ -432,12 +432,12 @@ Optional<Color> Color::from_string(const StringView& string)
|
||||||
|
|
||||||
return Color(r.value(), g.value(), b.value(), a.value());
|
return Color(r.value(), g.value(), b.value(), a.value());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const LogStream& operator<<(const LogStream& stream, Color value)
|
const LogStream& operator<<(const LogStream& stream, Color value)
|
||||||
{
|
{
|
||||||
return stream << value.to_string();
|
return stream << value.to_string();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool IPC::encode(IPC::Encoder& encoder, const Color& color)
|
bool IPC::encode(IPC::Encoder& encoder, const Color& color)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue