From 2d0d5817f231d9ef5f707e3e8da1e42dcc9c5ebb Mon Sep 17 00:00:00 2001 From: William JCM Date: Mon, 4 Oct 2021 18:18:20 +0200 Subject: [PATCH] SaveTool: add a basic guide to the help menu. --- src/SaveTool/SaveTool_drawMainMenu.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/SaveTool/SaveTool_drawMainMenu.cpp b/src/SaveTool/SaveTool_drawMainMenu.cpp index 6fd1128..d51074e 100644 --- a/src/SaveTool/SaveTool_drawMainMenu.cpp +++ b/src/SaveTool/SaveTool_drawMainMenu.cpp @@ -181,6 +181,20 @@ void SaveTool::drawMainMenu() { #endif if(ImGui::BeginMenu("Help")) { + if(ImGui::BeginMenu(ICON_FA_BOOK " ImGui user guide")) { + ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text."); + ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields."); + ImGui::BulletText("While inputing text:\n"); + ImGui::Indent(); + ImGui::BulletText("CTRL+Left/Right to word jump."); + ImGui::BulletText("CTRL+A or double-click to select all."); + ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste."); + ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo."); + ImGui::BulletText("ESCAPE to revert."); + ImGui::BulletText("You can apply arithmetic operators +,*,/ on numerical values.\nUse +- to subtract."); + ImGui::Unindent(); + ImGui::EndMenu(); + } ImGui::MenuItem(ICON_FA_INFO_CIRCLE " About", nullptr, &_aboutPopup); ImGui::EndMenu();