Application: add menu entries for the new folders.
This commit is contained in:
parent
efc3fe0dc7
commit
0b46403ede
1 changed files with 22 additions and 0 deletions
|
@ -66,6 +66,28 @@ Application::drawMainMenu() {
|
|||
openUri(Utility::Path::toNativeSeparators(conf().directories().staging));
|
||||
}
|
||||
|
||||
if(ImGui::BeginMenu(ICON_FA_BOXES " Armoury")) {
|
||||
if(ImGui::MenuItem(ICON_FA_SHIELD_ALT " Armour parts", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().armours)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().armours));
|
||||
}
|
||||
|
||||
if(ImGui::MenuItem(ICON_FA_ROCKET " Weapons", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().weapons)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().weapons));
|
||||
}
|
||||
|
||||
if(ImGui::MenuItem(ICON_FA_PALETTE " Custom styles", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().styles)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().styles));
|
||||
}
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue