1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

LibGfx: Add more syntax-related ColorRoles

This commit is contained in:
Itamar 2022-02-06 23:10:42 +02:00 committed by Andreas Kling
parent 4646bf4b92
commit 22f835332a
3 changed files with 14 additions and 10 deletions

View file

@ -27,10 +27,6 @@ Palette::Palette(const PaletteImpl& impl)
{
}
Palette::~Palette()
{
}
int PaletteImpl::metric(MetricRole role) const
{
VERIFY((int)role < (int)MetricRole::__Count);
@ -91,10 +87,6 @@ void Palette::set_path(PathRole role, String path)
theme.path[(int)role][sizeof(theme.path[(int)role]) - 1] = '\0';
}
PaletteImpl::~PaletteImpl()
{
}
void PaletteImpl::replace_internal_buffer(Badge<GUI::Application>, Core::AnonymousBuffer buffer)
{
m_theme_buffer = move(buffer);