1
0
mirror of synced 2024-12-05 04:27:56 +01:00
ImHex/plugins/builtin/include/content/views/view_patches.hpp
Nik 7e660450ed
feat: Implement better and more complete undo/redo stack (#1433)
This PR aims to implement a more complete undo/redo stack that, unlike
the old one, also supports undoing insertions, deletions and resize
operations
2023-11-25 12:43:48 +01:00

22 lines
418 B
C++

#pragma once
#include <hex.hpp>
#include <hex/ui/view.hpp>
namespace hex::plugin::builtin {
class ViewPatches : public View::Window {
public:
explicit ViewPatches();
~ViewPatches() override = default;
void drawContent() override;
void drawAlwaysVisibleContent() override;
private:
u64 m_selectedPatch = 0x00;
PerProvider<u32> m_numOperations;
};
}