Commit 98fa77f0 authored by chili's avatar chili
Browse files

remove useless textinput

parent 79f9c623
......@@ -88,14 +88,12 @@ void App::DoFrame()
d->Draw( wnd.Gfx() );
}
static char buffer[1024];
// imgui window to control simulation speed
if( ImGui::Begin( "Simulation Speed" ) )
{
ImGui::SliderFloat( "Speed Factor",&speed_factor,0.0f,4.0f );
ImGui::Text( "Application average %.3f ms/frame (%.1f FPS)",1000.0f / ImGui::GetIO().Framerate,ImGui::GetIO().Framerate );
ImGui::InputText( "Butts",buffer,sizeof( buffer ) );
ImGui::Text( "%.3f ms/frame (%.1f FPS)",1000.0f / ImGui::GetIO().Framerate,ImGui::GetIO().Framerate );
ImGui::Text( "Status: %s",wnd.kbd.KeyIsPressed( VK_SPACE ) ? "PAUSED" : "RUNNING" );
}
ImGui::End();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment