1
0
mirror of synced 2024-12-05 04:27:56 +01:00
ImHex/plugins/builtin/include/content/views/view_provider_settings.hpp

26 lines
628 B
C++
Raw Normal View History

#pragma once
#include <hex/ui/view.hpp>
namespace hex::plugin::builtin {
class ViewProviderSettings : public View::Modal {
public:
ViewProviderSettings();
2022-01-10 21:05:37 +01:00
~ViewProviderSettings() override;
void drawContent() override;
2022-01-10 21:05:37 +01:00
[[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;
}
};
}