feat: Added documentation helper AI

This commit is contained in:
WerWolv
2023-04-10 01:42:53 +02:00
parent 00c9a92977
commit dc77d81e1b
4 changed files with 140 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
#include "content/global_actions.hpp"
#include <content/popups/popup_notification.hpp>
#include <content/popups/popup_docs_question.hpp>
#include <wolv/io/file.hpp>
@@ -453,6 +454,10 @@ namespace hex::plugin::builtin {
static void createHelpMenu() {
ContentRegistry::Interface::registerMainMenuItem("hex.builtin.menu.help", 5000);
ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.help", "hex.builtin.menu.help.ask_for_help" }, 5000, CTRLCMD + SHIFT + Keys::D, [] {
PopupDocsQuestion::open();
});
}
void registerMainMenuEntries() {