26 lines
628 B
C++
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;
|
|
}
|
|
};
|
|
|
|
} |