mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
api: Moved menu item adding to a new registry-type API
This commit is contained in:
@@ -74,10 +74,6 @@ namespace hex::plugin::builtin {
|
||||
|
||||
}
|
||||
|
||||
void ViewCommandPalette::drawMenu() {
|
||||
|
||||
}
|
||||
|
||||
std::vector<ViewCommandPalette::CommandResult> ViewCommandPalette::getCommandResults(const std::string &input) {
|
||||
constexpr auto MatchCommand = [](const std::string &currCommand, const std::string &commandToMatch) -> std::pair<MatchType, std::string_view> {
|
||||
if (currCommand.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user