From 24f7be3f51e883ef21060c191a7c4f170d502e7d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 15 Jul 2018 20:10:41 +0200 Subject: [PATCH] Add homepage and tutorial video buttons. --- standalone/src/main.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/standalone/src/main.cpp b/standalone/src/main.cpp index a241c233..0c9d0416 100644 --- a/standalone/src/main.cpp +++ b/standalone/src/main.cpp @@ -117,7 +117,18 @@ int main( int argc, char** argv ) if( !view ) { - ImGui::Begin( "Connect to...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ); + ImGui::Begin( "Tracy server", nullptr, ImGuiWindowFlags_AlwaysAutoResize ); + if( ImGui::SmallButton( "Homepage" ) ) + { + OpenWebpage( "https://bitbucket.org/wolfpld/tracy" ); + } + ImGui::SameLine(); + if( ImGui::SmallButton( "Tutorial" ) ) + { + OpenWebpage( "https://www.youtube.com/watch?v=fB5B46lbapc" ); + } + ImGui::Separator(); + ImGui::Text( "Connect to client" ); ImGui::InputText( "Address", addr, 1024 ); if( ImGui::Button( "Connect" ) && *addr ) {