1
0
mirror of synced 2024-12-11 23:46:00 +01:00
ImHex/plugins/builtin/include/content/views/view_hashes.hpp
2022-05-30 16:36:46 +02:00

28 lines
525 B
C++

#pragma once
#include <hex/api/content_registry.hpp>
#include <hex/ui/view.hpp>
#include <array>
#include <utility>
#include <cstdio>
namespace hex::plugin::builtin {
class ViewHashes : public View {
public:
explicit ViewHashes();
~ViewHashes() override;
void drawContent() override;
private:
ContentRegistry::Hashes::Hash *m_selectedHash = nullptr;
std::string m_newHashName;
std::vector<ContentRegistry::Hashes::Hash::Function> m_hashFunctions;
};
}