mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-11 23:08:38 -06:00
Added tools window
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
namespace hex {
|
||||
|
||||
enum class Events {
|
||||
DataChanged
|
||||
DataChanged,
|
||||
PatternChanged
|
||||
};
|
||||
|
||||
struct EventHandler {
|
||||
|
||||
32
include/views/view_tools.hpp
Normal file
32
include/views/view_tools.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user