2020-11-29 02:06:41 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
2022-02-01 18:09:40 +01:00
|
|
|
#include <hex/ui/view.hpp>
|
2020-11-29 02:06:41 +01:00
|
|
|
|
2021-12-07 22:47:41 +01:00
|
|
|
namespace hex::plugin::builtin {
|
2020-11-29 02:06:41 +01:00
|
|
|
|
2023-11-21 13:47:50 +01:00
|
|
|
class ViewPatches : public View::Window {
|
2020-11-29 02:06:41 +01:00
|
|
|
public:
|
2020-12-27 15:39:06 +01:00
|
|
|
explicit ViewPatches();
|
2022-09-28 15:01:43 +02:00
|
|
|
~ViewPatches() override = default;
|
2020-11-29 02:06:41 +01:00
|
|
|
|
2020-12-22 18:10:01 +01:00
|
|
|
void drawContent() override;
|
2023-11-21 13:47:50 +01:00
|
|
|
void drawAlwaysVisibleContent() override;
|
2020-11-29 02:06:41 +01:00
|
|
|
|
|
|
|
private:
|
2022-03-04 20:52:39 +01:00
|
|
|
u64 m_selectedPatch = 0x00;
|
2023-11-25 12:43:48 +01:00
|
|
|
PerProvider<u32> m_numOperations;
|
2020-11-29 02:06:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|