mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add global settings achievement.
This commit is contained in:
parent
915a138150
commit
959ab53529
@ -715,6 +715,8 @@ static void DrawContents()
|
||||
ImGui::Separator();
|
||||
if( ImGui::TreeNode( ICON_FA_TOOLBOX " Global settings" ) )
|
||||
{
|
||||
s_achievements.Achieve( "globalSettings" );
|
||||
|
||||
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
|
||||
|
||||
ImGui::TextUnformatted( "Threaded rendering" );
|
||||
|
@ -118,8 +118,14 @@ AchievementItem ai_connectToServer = { "connectToClient", "First profiling sessi
|
||||
}
|
||||
}, ac_connectToServerItems, ac_connectToServerUnlock };
|
||||
|
||||
AchievementItem ai_globalSettings = { "globalSettings", "Global settings", [](const ctx&){
|
||||
ImGui::TextWrapped( "Tracy has a variety of settings that can be adjusted to suit your needs. These settings can be found by clicking on the " ICON_FA_WRENCH " icon on the welcome screen. This will open the about window, where you can expand the '" ICON_FA_TOOLBOX " Global settings' menu." );
|
||||
ImGui::TextWrapped( "The settings are saved between sessions, so you only need to set them once." );
|
||||
} };
|
||||
|
||||
AchievementItem* ac_achievementsIntroItems[] = {
|
||||
&ai_connectToServer,
|
||||
&ai_globalSettings,
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user