1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Docs: update ShowUserGuide() + PR guidelines. (#9071)

This commit is contained in:
ocornut 2025-11-19 17:12:49 +01:00
parent b4a3d423e0
commit 1f16ca5e5c
2 changed files with 9 additions and 7 deletions

View file

@ -2,7 +2,9 @@
1. PLEASE CAREFULLY READ: [Contributing Guidelines](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md) 1. PLEASE CAREFULLY READ: [Contributing Guidelines](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md)
2. Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.) 2. **Make sure you're using a special branch just for this pull request**. (In git, 1 PR = 1 branch. If you update the branch the PR will be updated.)
3. Clear this template before submitting your PR. 3. Consider running the [imgui_test_suite](https://github.com/ocornut/imgui_test_engine) or adding new tests to test for expected behaviors.
4. Clear this template before submitting your PR.

View file

@ -8641,11 +8641,11 @@ void ImGui::ShowUserGuide()
ImGuiIO& io = GetIO(); ImGuiIO& io = GetIO();
BulletText("Double-click on title bar to collapse window."); BulletText("Double-click on title bar to collapse window.");
BulletText( BulletText(
"Click and drag on lower corner to resize window\n" "Click and drag on lower corner or border to resize window.\n"
"(double-click to auto fit window to its contents)."); "(double-click to auto fit window to its contents)");
BulletText("Ctrl+Click on a slider or drag box to input value as text."); BulletText("Ctrl+Click on a slider or drag box to input value as text.");
BulletText("Tab/Shift+Tab to cycle through keyboard editable fields."); BulletText("Tab/Shift+Tab to cycle through keyboard editable fields.");
BulletText("Ctrl+Tab to select a window."); BulletText("Ctrl+Tab/Ctrl+Shift+Tab to focus windows.");
if (io.FontAllowUserScaling) if (io.FontAllowUserScaling)
BulletText("Ctrl+Mouse Wheel to zoom window contents."); BulletText("Ctrl+Mouse Wheel to zoom window contents.");
BulletText("While inputting text:\n"); BulletText("While inputting text:\n");
@ -8658,10 +8658,10 @@ void ImGui::ShowUserGuide()
Unindent(); Unindent();
BulletText("With keyboard navigation enabled:"); BulletText("With keyboard navigation enabled:");
Indent(); Indent();
BulletText("Arrow keys to navigate."); BulletText("Arrow keys or Home/End/PageUp/PageDown to navigate.");
BulletText("Space to activate a widget."); BulletText("Space to activate a widget.");
BulletText("Return to input text into a widget."); BulletText("Return to input text into a widget.");
BulletText("Escape to deactivate a widget, close popup, exit child window."); BulletText("Escape to deactivate a widget, close popup,\nexit a child window or the menu layer, clear focus.");
BulletText("Alt to jump to the menu layer of a window."); BulletText("Alt to jump to the menu layer of a window.");
Unindent(); Unindent();
} }