mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
More compact welcome dialog.
This commit is contained in:
parent
38ebc2e989
commit
60f0b81faf
@ -311,7 +311,7 @@ int main( int argc, char** argv )
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::TextUnformatted( "Connect to client" );
|
ImGui::TextUnformatted( "Client address" );
|
||||||
bool connectClicked = false;
|
bool connectClicked = false;
|
||||||
connectClicked |= ImGui::InputTextWithHint( "###connectaddress", "Enter address", addr, 1024, ImGuiInputTextFlags_EnterReturnsTrue );
|
connectClicked |= ImGui::InputTextWithHint( "###connectaddress", "Enter address", addr, 1024, ImGuiInputTextFlags_EnterReturnsTrue );
|
||||||
if( !connHistVec.empty() )
|
if( !connHistVec.empty() )
|
||||||
@ -358,7 +358,7 @@ int main( int argc, char** argv )
|
|||||||
|
|
||||||
view = std::make_unique<tracy::View>( addr, fixedWidth, SetWindowTitleCallback );
|
view = std::make_unique<tracy::View>( addr, fixedWidth, SetWindowTitleCallback );
|
||||||
}
|
}
|
||||||
ImGui::Separator();
|
ImGui::SameLine( 0, ImGui::GetFontSize() * 2 );
|
||||||
if( ImGui::Button( ICON_FA_FOLDER_OPEN " Open saved trace" ) && !loadThread.joinable() )
|
if( ImGui::Button( ICON_FA_FOLDER_OPEN " Open saved trace" ) && !loadThread.joinable() )
|
||||||
{
|
{
|
||||||
nfdchar_t* fn;
|
nfdchar_t* fn;
|
||||||
|
Loading…
Reference in New Issue
Block a user