1
0
mirror of synced 2024-11-30 18:34:29 +01:00
ImHex/plugins/builtin/include/content/views/view_hashes.hpp

28 lines
525 B
C++
Raw Normal View History

#pragma once
#include <hex/api/content_registry.hpp>
#include <hex/ui/view.hpp>
#include <array>
#include <utility>
#include <cstdio>
2021-12-07 22:47:41 +01:00
namespace hex::plugin::builtin {
class ViewHashes : public View {
public:
explicit ViewHashes();
2020-11-11 09:28:44 +01:00
~ViewHashes() override;
void drawContent() override;
private:
ContentRegistry::Hashes::Hash *m_selectedHash = nullptr;
std::string m_newHashName;
std::vector<ContentRegistry::Hashes::Hash::Function> m_hashFunctions;
};
}