mirror of
https://github.com/brunoherbelin/vimix.git
synced 2026-05-05 17:25:08 +02:00
More options in the toolbox. User settings for selection of blit render
mode.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user