Add join discord button.

This commit is contained in:
Bartosz Taudul 2019-06-11 02:12:34 +02:00
parent 57b8b425ba
commit 84a52c5d62

View File

@ -275,16 +275,21 @@ int main( int argc, char** argv )
tracy::TextCentered( buf ); tracy::TextCentered( buf );
ImGui::PopFont(); ImGui::PopFont();
ImGui::Spacing(); ImGui::Spacing();
if( ImGui::Button( ICON_FA_BOOK " User manual" ) ) if( ImGui::Button( ICON_FA_BOOK " Manual" ) )
{ {
OpenWebpage( "https://bitbucket.org/wolfpld/tracy/downloads/tracy.pdf" ); OpenWebpage( "https://bitbucket.org/wolfpld/tracy/downloads/tracy.pdf" );
} }
ImGui::SameLine(); ImGui::SameLine();
if( ImGui::Button( ICON_FA_GLOBE_AMERICAS " Homepage" ) ) if( ImGui::Button( ICON_FA_GLOBE_AMERICAS " Web" ) )
{ {
OpenWebpage( "https://bitbucket.org/wolfpld/tracy" ); OpenWebpage( "https://bitbucket.org/wolfpld/tracy" );
} }
ImGui::SameLine(); ImGui::SameLine();
if( ImGui::Button( ICON_FA_COMMENT " Chat" ) )
{
OpenWebpage( "https://discord.gg/pk78auc" );
}
ImGui::SameLine();
if( ImGui::Button( ICON_FA_VIDEO " Tutorial" ) ) if( ImGui::Button( ICON_FA_VIDEO " Tutorial" ) )
{ {
ImGui::OpenPopup( "tutorial" ); ImGui::OpenPopup( "tutorial" );