Skip to content

Commit 8cc3ed1

Browse files
author
Adrien GIVRY
committed
Updating the help menu
The help menu (Accessible from the menu bar), has been updated to: +-----------------+ | GitHub | | Getting Started | | Scripting API | +-----------------+ | Bug Report | | Feature Request | +-----------------| | Version: 1.3.0 | +-----------------+ `Credits` section has been removed because it is redundant from what you'll find on the GitHub page. Morehover, as Overload is now a collaborative project, it will be hard to keep track of our contributors and could affect negatively the code (Lots of change in the help menu everytime a new contributor joins us). `Overload Website` link has been removed. Actually, our website unique goal is to bring users from search engines to our GitHub page. Our long term goal is to have all Overload documentation into our Wiki instead of dispatching it accross multiple websites, thus, the website is becoming pointless for our users. `Overload documentation`, which was a link to our sources documentation, has been removed. As Overload is now public and sources are documented, we do not need to have this online documentation. Any method/class/struct documentation can be found directly in the source code, and we should avoid having multiple ways to do the same thing to reduce maintenance costs.
1 parent 31cafa5 commit 8cc3ed1

1 file changed

Lines changed: 9 additions & 19 deletions

File tree

  • Sources/Overload/OvEditor/src/OvEditor/Panels

Sources/Overload/OvEditor/src/OvEditor/Panels/MenuBar.cpp

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -228,25 +228,15 @@ void OvEditor::Panels::MenuBar::CreateLayoutMenu()
228228

229229
void OvEditor::Panels::MenuBar::CreateHelpMenu()
230230
{
231-
auto& helpMenu = CreateWidget<MenuList>("Help");
232-
helpMenu.CreateWidget<MenuItem>("Overload Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/doc/1.1/annotated.html"); };
233-
helpMenu.CreateWidget<MenuItem>("Scripting Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/api/1.1"); };
234-
helpMenu.CreateWidget<MenuItem>("Overload Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org"); };
235-
236-
helpMenu.CreateWidget<Visual::Separator>();
237-
auto& creditsMenu = helpMenu.CreateWidget<MenuList>("Credits");
238-
auto& max = creditsMenu.CreateWidget<MenuList>("Max BRUN");
239-
auto& adrien = creditsMenu.CreateWidget<MenuList>("Adrien GIVRY");
240-
auto& benji = creditsMenu.CreateWidget<MenuList>("Benjamin VIRANIN");
241-
242-
helpMenu.CreateWidget<Visual::Separator>();
243-
helpMenu.CreateWidget<Texts::Text>("Current version: 1.1.1");
244-
245-
max.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://maxbrun.wixsite.com/maxbrundevelopment"); };
246-
max.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/maxbrundev"); };
247-
adrien.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://adrien-givry.com/"); };
248-
adrien.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry"); };
249-
benji.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/BenjaminViranin"); };
231+
auto& helpMenu = CreateWidget<MenuList>("Help");
232+
helpMenu.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry/Overload"); };
233+
helpMenu.CreateWidget<MenuItem>("Tutorials").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry/Overload/wiki/Tutorials"); };
234+
helpMenu.CreateWidget<MenuItem>("Scripting API").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry/Overload/wiki/Scripting-API"); };
235+
helpMenu.CreateWidget<Visual::Separator>();
236+
helpMenu.CreateWidget<MenuItem>("Bug Report").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry/Overload/issues/new?assignees=&labels=Bug&template=bug_report.md&title="); };
237+
helpMenu.CreateWidget<MenuItem>("Feature Request").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/adriengivry/Overload/issues/new?assignees=&labels=Feature&template=feature_request.md&title="); };
238+
helpMenu.CreateWidget<Visual::Separator>();
239+
helpMenu.CreateWidget<Texts::Text>("Version: 1.3.0");
250240
}
251241

252242
void OvEditor::Panels::MenuBar::RegisterPanel(const std::string& p_name, OvUI::Panels::PanelWindow& p_panel)

0 commit comments

Comments
 (0)