mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibGfx: Add list_installed_system_themes() to SystemTheme
This commit is contained in:
parent
3fbefb82ac
commit
8fa0409ae1
3 changed files with 27 additions and 18 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <AK/Forward.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Types.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/AnonymousBuffer.h>
|
||||
#include <LibCore/ConfigFile.h>
|
||||
#include <LibGfx/Color.h>
|
||||
|
@ -272,6 +273,13 @@ void set_system_theme(Core::AnonymousBuffer);
|
|||
Core::AnonymousBuffer load_system_theme(Core::ConfigFile const&);
|
||||
Core::AnonymousBuffer load_system_theme(String const& path);
|
||||
|
||||
struct SystemThemeMetaData {
|
||||
String name;
|
||||
String path;
|
||||
};
|
||||
|
||||
Vector<SystemThemeMetaData> list_installed_system_themes();
|
||||
|
||||
}
|
||||
|
||||
using Gfx::ColorRole;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue