Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien GIVRY committed Sep 20, 2019
2 parents 4f2b7aa + e3249b8 commit aede777
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Sources/Overload/OvEditor/src/OvEditor/Panels/MenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ void OvEditor::Panels::MenuBar::CreateLayoutMenu()
void OvEditor::Panels::MenuBar::CreateHelpMenu()
{
auto& helpMenu = CreateWidget<MenuList>("Help");
helpMenu.CreateWidget<MenuItem>("Overload Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/documentation/annotated.html"); };
helpMenu.CreateWidget<MenuItem>("Scripting Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/api"); };
helpMenu.CreateWidget<MenuItem>("Overload Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/doc/1.1/annotated.html"); };
helpMenu.CreateWidget<MenuItem>("Scripting Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/api/1.1"); };
helpMenu.CreateWidget<MenuItem>("Overload Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org"); };

helpMenu.CreateWidget<Visual::Separator>();
Expand All @@ -227,6 +227,9 @@ void OvEditor::Panels::MenuBar::CreateHelpMenu()
auto& adrien = creditsMenu.CreateWidget<MenuList>("Adrien GIVRY");
auto& benji = creditsMenu.CreateWidget<MenuList>("Benjamin VIRANIN");

helpMenu.CreateWidget<Visual::Separator>();
helpMenu.CreateWidget<Texts::Text>("Current version: 1.1.1");

max.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://maxbrun.wixsite.com/maxbrundevelopment"); };
max.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/maxbrundev"); };
adrien.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://adrien-givry.com/"); };
Expand Down

0 comments on commit aede777

Please sign in to comment.