2021-12-07 22:47:57 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
|
|
|
#include <imgui.h>
|
|
|
|
#include <hex/views/view.hpp>
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace hex::plugin::builtin {
|
|
|
|
|
2021-12-12 00:41:44 +01:00
|
|
|
class ViewProviderSettings : public hex::View {
|
2021-12-07 22:47:57 +01:00
|
|
|
public:
|
2021-12-12 00:41:44 +01:00
|
|
|
ViewProviderSettings();
|
2022-01-10 21:05:37 +01:00
|
|
|
~ViewProviderSettings() override;
|
2021-12-07 22:47:57 +01:00
|
|
|
|
|
|
|
void drawContent() override;
|
2021-12-12 00:41:44 +01:00
|
|
|
void drawAlwaysVisible() override;
|
2021-12-07 22:47:57 +01:00
|
|
|
|
2022-01-10 21:05:37 +01:00
|
|
|
[[nodiscard]] bool hasViewMenuItemEntry() const override;
|
2021-12-07 22:47:57 +01:00
|
|
|
|
2022-01-10 21:05:37 +01:00
|
|
|
[[nodiscard]] bool isAvailable() const override;
|
2021-12-07 22:47:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|