1
0
mirror of synced 2024-12-24 13:34:50 +01:00
ImHex/plugins/builtin/include/content/views/view_provider_settings.hpp

26 lines
628 B
C++

#pragma once
#include <hex/ui/view.hpp>
namespace hex::plugin::builtin {
class ViewProviderSettings : public View::Modal {
public:
ViewProviderSettings();
~ViewProviderSettings() override;
void drawContent() override;
[[nodiscard]] bool hasViewMenuItemEntry() const override;
[[nodiscard]] bool shouldDraw() const override { return true; }
ImVec2 getMinSize() const override { return { -1, -1 }; }
ImVec2 getMaxSize() const override { return this->getMinSize(); }
bool hasCloseButton() const override {
return false;
}
};
}