patterns: Fix endian settings not applying to char16

This commit is contained in:
WerWolv
2021-08-29 11:10:48 +02:00
parent a7e2c06bc4
commit f60f9f9fc9
4 changed files with 61 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
#include "views/view_tools.hpp"
#include <hex/providers/provider.hpp>
namespace hex {
ViewTools::ViewTools() : View("hex.view.tools.name") { }
ViewTools::~ViewTools() { }
void ViewTools::drawContent() {
if (ImGui::Begin(View::toWindowName("hex.view.tools.name").c_str(), &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse)) {
for (const auto& [name, function] : ContentRegistry::Tools::getEntries()) {
if (ImGui::CollapsingHeader(LangEntry(name))) {
function();
}
}
}
ImGui::End();
}
void ViewTools::drawMenu() {
}
}