#pragma once #include #include "imgui.h" #include "views/view.hpp" #include #include namespace hex { namespace prv { class Provider; } class ViewTools : public View { public: ViewTools(); ~ViewTools() override; void createView() override; void createMenu() override; private: char *m_mangledBuffer = nullptr; std::string m_demangledName; bool m_asciiTableShowOctal = false; char *m_regexInput = nullptr; char *m_regexPattern = nullptr; char *m_replacePattern = nullptr; std::string m_regexOutput; std::array m_pickedColor; void drawDemangler(); void drawASCIITable(); void drawRegexReplacer(); void drawColorPicker(); }; }