"open manual" in help

This commit is contained in:
Eknous-P 2026-01-10 01:14:58 +04:00
parent 7617036eba
commit 77af6d325f

View file

@ -4922,6 +4922,12 @@ bool FurnaceGUI::loop() {
ImGui::EndMenu();
}
if (ImGui::BeginMenu(settings.capitalMenuBar?_("Help"):_("help"))) {
if (ImGui::MenuItem(_("open manual")))
#ifdef DIV_UNSTABLE
SDL_OpenURL("https://github.com/tildearrow/furnace/tree/master/doc");
#else
SDL_OpenURL("https://tildearrow.org/furnace/doc/v" DIV_VERSION "/manual.pdf");
#endif
if (ImGui::MenuItem(_("effect list"),BIND_FOR(GUI_ACTION_WINDOW_EFFECT_LIST),effectListOpen)) effectListOpen=!effectListOpen;
if (ImGui::MenuItem(_("debug menu"),BIND_FOR(GUI_ACTION_WINDOW_DEBUG))) debugOpen=!debugOpen;
if (ImGui::MenuItem(_("inspector"))) inspectorOpen=!inspectorOpen;