"open manual" in help
This commit is contained in:
parent
7617036eba
commit
77af6d325f
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue