1
0
mirror of synced 2024-12-24 05:24:52 +01:00
ImHex/plugins/builtin/include/content/views/view_tools.hpp

25 lines
573 B
C++

#pragma once
#include <hex/api/content_registry.hpp>
#include <hex/ui/view.hpp>
#include <vector>
namespace hex::plugin::builtin {
class ViewTools : public View::Window {
public:
ViewTools();
~ViewTools() override = default;
void drawContent() override;
void drawAlwaysVisibleContent() override;
private:
std::vector<ContentRegistry::Tools::impl::Entry>::const_iterator m_dragStartIterator;
std::map<ImGuiWindow*, float> m_windowHeights;
std::map<UnlocalizedString, bool> m_detachedTools;
};
}