diff options
Diffstat (limited to 'Libraries/LibGfx/Color.cpp')
-rw-r--r-- | Libraries/LibGfx/Color.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Libraries/LibGfx/Color.cpp b/Libraries/LibGfx/Color.cpp index 5cf0299e54..1dfcda7666 100644 --- a/Libraries/LibGfx/Color.cpp +++ b/Libraries/LibGfx/Color.cpp @@ -433,3 +433,8 @@ bool IPC::decode(IPC::Decoder& decoder, Color& color) color = Color::from_rgba(rgba); return true; } + +void AK::Formatter<Gfx::Color>::format(TypeErasedFormatParams& params, FormatBuilder& builder, const Gfx::Color& value) +{ + Formatter<StringView>::format(params, builder, value.to_string()); +} |