2020-11-14 23:46:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
|
|
|
#include "imgui.h"
|
|
|
|
#include "views/view.hpp"
|
|
|
|
#include "views/pattern_data.hpp"
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <tuple>
|
|
|
|
#include <cstdio>
|
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
namespace prv { class Provider; }
|
|
|
|
|
|
|
|
class ViewTools : public View {
|
|
|
|
public:
|
|
|
|
ViewTools();
|
|
|
|
~ViewTools() override;
|
|
|
|
|
|
|
|
void createView() override;
|
|
|
|
void createMenu() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_windowOpen = true;
|
|
|
|
|
|
|
|
char *m_mangledBuffer = nullptr;
|
|
|
|
char *m_demangledName = nullptr;
|
2020-11-15 01:50:56 +00:00
|
|
|
|
|
|
|
bool m_asciiTableShowOctal = false;
|
|
|
|
|
|
|
|
void drawDemangler();
|
|
|
|
void drawASCIITable();
|
2020-11-14 23:46:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|