1
0
mirror of synced 2024-12-04 20:17:57 +01:00
ImHex/plugins/builtin/include/content/views/view_theme_manager.hpp

28 lines
587 B
C++
Raw Normal View History

#pragma once
#include <hex.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/ui/view.hpp>
#include <array>
#include <string>
namespace hex::plugin::builtin {
class ViewThemeManager : public View {
public:
ViewThemeManager();
~ViewThemeManager() override = default;
void drawContent() override;
[[nodiscard]] bool isAvailable() const override { return true; }
[[nodiscard]] bool hasViewMenuItemEntry() const override { return false; }
private:
std::string m_themeName;
bool m_viewOpen = false;
};
}