2020-11-14 23:46:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
2022-10-13 08:47:35 +00:00
|
|
|
#include <hex/api/content_registry.hpp>
|
2022-02-01 17:09:40 +00:00
|
|
|
#include <hex/ui/view.hpp>
|
2020-11-14 23:46:38 +00:00
|
|
|
|
2020-11-15 20:31:04 +00:00
|
|
|
#include <array>
|
|
|
|
#include <string>
|
2020-11-14 23:46:38 +00:00
|
|
|
|
2021-12-07 21:47:41 +00:00
|
|
|
namespace hex::plugin::builtin {
|
2020-11-14 23:46:38 +00:00
|
|
|
|
|
|
|
class ViewTools : public View {
|
|
|
|
public:
|
2020-12-27 14:39:06 +00:00
|
|
|
ViewTools();
|
2022-03-04 19:52:39 +00:00
|
|
|
~ViewTools() override = default;
|
2020-11-14 23:46:38 +00:00
|
|
|
|
2020-12-22 17:10:01 +00:00
|
|
|
void drawContent() override;
|
2023-06-05 07:08:41 +00:00
|
|
|
void drawAlwaysVisible() override;
|
2022-10-13 08:47:35 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::vector<ContentRegistry::Tools::impl::Entry>::iterator m_dragStartIterator;
|
2020-11-14 23:46:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|