serenity/Ladybird/Qt/Icon.h
Timothy Flynn b577782247 Ladybird/Qt: Move the TVG icon loader to a utility file
It will be needed outside of Tab.
2024-04-03 20:56:04 +02:00

18 lines
321 B
C++

/*
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/StringView.h>
#include <QIcon>
namespace Ladybird {
QIcon load_icon_from_uri(StringView);
QIcon create_tvg_icon_with_theme_colors(QString const& name, QPalette const& palette);
}