feat: Added context menu and next/previous buttons to the data inspector

This commit is contained in:
WerWolv
2024-12-30 12:07:21 +01:00
parent f0525d6463
commit cb09cf3734
3 changed files with 67 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ namespace hex::plugin::builtin {
ContentRegistry::DataInspector::impl::DisplayFunction displayFunction;
std::optional<ContentRegistry::DataInspector::impl::EditingFunction> editingFunction;
bool editing;
u64 requiredSize;
std::string filterValue;
};
@@ -62,6 +63,7 @@ namespace hex::plugin::builtin {
pl::PatternLanguage m_runtime;
std::vector<InspectorCacheEntry> m_cachedData, m_workData;
std::optional<UnlocalizedString> m_selectedEntryName;
TaskHolder m_updateTask;