private void DrawWindow1() { ImGui.SetNextWindowPos( new Vector2( 300, 200 ) * ImGuiStyle.UIScale ); ImGui.Begin( "Window 1" ); if ( ImGui.Button( "Click me!" ) ) { _clickCounter++; } ImGui.Text( "Clicked {0} times.", _clickCounter ); if ( ImGui.Button( "Focus Floating Window" ) ) { _shouldFocusFloatingWindow = true; } ImGui.SliderFloat( "My Float", ref _myFloatValue, -128f, 256f ); ImGui.Button( "1" ); ImGui.SameLine(); ImGui.Button( "2" ); ImGui.SameLine(); ImGui.Button( "3" ); ImGui.SameLine(); ImGui.Button( "4" ); ImGui.Image( ExampleTexture, new Vector2( 128 ) * ImGuiStyle.UIScale, Color.White, ImGui.GetColorU32( ImGuiCol.Border ) ); ImGui.End(); }