Finality Engine
Loading...
Searching...
No Matches
EditorTheme.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <Core/Core.h>
9#include <filesystem>
10#include <imgui.h>
11#include <string>
12#include <vector>
13
14namespace FINALITY
15{
18{
19 std::string ID;
20 std::string Name;
21};
22
25{
26 public:
27 static std::vector<ThemeChoice> List(const std::filesystem::path &engineAssets,
28 const std::filesystem::path &project);
29 static bool Load(const std::string &id, const std::filesystem::path &engineAssets,
30 const std::filesystem::path &project, ImGuiStyle &style, std::string &error);
31 static bool Apply(const std::string &id, const std::filesystem::path &engineAssets,
32 const std::filesystem::path &project, std::string &error);
33 static bool Export(const std::filesystem::path &path, const std::string &name, std::string &error);
34};
35}
#define FAPI
Definition Core.h:22
static std::vector< ThemeChoice > List(const std::filesystem::path &engineAssets, const std::filesystem::path &project)
static bool Export(const std::filesystem::path &path, const std::string &name, std::string &error)
static bool Apply(const std::string &id, const std::filesystem::path &engineAssets, const std::filesystem::path &project, std::string &error)
static bool Load(const std::string &id, const std::filesystem::path &engineAssets, const std::filesystem::path &project, ImGuiStyle &style, std::string &error)