More options in the toolbox. User settings for selection of blit render

mode.
This commit is contained in:
brunoherbelin
2020-06-27 13:27:06 +02:00
parent 44901f6756
commit 02ef340ef5
5 changed files with 111 additions and 101 deletions

View File

@@ -678,14 +678,20 @@ void ToolBox::Render()
// Menu Bar
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("Tools"))
if (ImGui::BeginMenu("Render"))
{
if ( ImGui::MenuItem( ICON_FA_CAMERA_RETRO " Screenshot", NULL) )
if ( ImGui::MenuItem( ICON_FA_CAMERA_RETRO " Screenshot") )
UserInterface::manager().StartScreenshot();
ImGui::MenuItem("Dev", NULL, false, false);
ImGui::MenuItem("Icons", NULL, &show_icons_window);
ImGui::MenuItem("Demo ImGui", NULL, &show_demo_window);
ImGui::MenuItem("Blit", nullptr, &Settings::application.render_blit);
ImGui::MenuItem("Multisampling", nullptr, (Settings::application.render_multisampling > 0), false);
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Dev"))
{
ImGui::MenuItem("Icons", nullptr, &show_icons_window);
ImGui::MenuItem("Demo ImGui", nullptr, &show_demo_window);
ImGui::EndMenu();
}