1
0
mirror of synced 2024-11-14 11:07:43 +01:00
ImHex/plugins/builtin/include/content/views/view_patches.hpp

25 lines
440 B
C++
Raw Normal View History

2020-11-29 02:06:41 +01:00
#pragma once
#include <hex.hpp>
#include <imgui.h>
#include <hex/ui/view.hpp>
2020-11-29 02:06:41 +01:00
#include <optional>
2021-12-07 22:47:41 +01:00
namespace hex::plugin::builtin {
2020-11-29 02:06:41 +01:00
class ViewPatches : public View {
public:
explicit ViewPatches();
2022-09-28 15:01:43 +02:00
~ViewPatches() override = default;
2020-11-29 02:06:41 +01:00
void drawContent() override;
void drawAlwaysVisible() override;
2020-11-29 02:06:41 +01:00
private:
u64 m_selectedPatch = 0x00;
PerProvider<u32> m_numPatches;
2020-11-29 02:06:41 +01:00
};
}