mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 18:59:59 +01:00
F11 for screen capture
This commit is contained in:
@@ -379,7 +379,7 @@ void UserInterface::handleKeyboard()
|
|||||||
Mixer::manager().setView(View::LAYER);
|
Mixer::manager().setView(View::LAYER);
|
||||||
else if (ImGui::IsKeyPressed( GLFW_KEY_F4, false ))
|
else if (ImGui::IsKeyPressed( GLFW_KEY_F4, false ))
|
||||||
Mixer::manager().setView(View::TEXTURE);
|
Mixer::manager().setView(View::TEXTURE);
|
||||||
else if (ImGui::IsKeyPressed( GLFW_KEY_PRINT_SCREEN, false ))
|
else if (ImGui::IsKeyPressed( GLFW_KEY_F11, false ))
|
||||||
StartScreenshot();
|
StartScreenshot();
|
||||||
// button home to toggle menu
|
// button home to toggle menu
|
||||||
else if (ImGui::IsKeyPressed( GLFW_KEY_HOME, false ))
|
else if (ImGui::IsKeyPressed( GLFW_KEY_HOME, false ))
|
||||||
|
|||||||
Reference in New Issue
Block a user