impr: Save most of the hex editor settings

#2398
This commit is contained in:
WerWolv
2025-08-11 21:03:18 +02:00
parent e9d95c78f6
commit 09b2e20a3d
5 changed files with 125 additions and 4 deletions

View File

@@ -369,6 +369,9 @@ EXPORT_MODULE namespace hex {
using OnChangeCallback = std::function<void(const SettingsValue &)>;
u64 onChange(const UnlocalizedString &unlocalizedCategory, const UnlocalizedString &unlocalizedName, const OnChangeCallback &callback);
using OnSaveCallback = std::function<void()>;
u64 onSave(const OnSaveCallback &callback);
}
/* Command Palette Command Registry. Allows adding of new commands to the command palette */