7e660450ed
This PR aims to implement a more complete undo/redo stack that, unlike the old one, also supports undoing insertions, deletions and resize operations
22 lines
418 B
C++
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;
|
|
};
|
|
|
|
} |