1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Extract normalized name tooltip function.

This commit is contained in:
Bartosz Taudul
2022-08-15 19:43:03 +02:00
parent 63d074c5d8
commit 4d0591cf2f
3 changed files with 22 additions and 15 deletions
+1
View File
@@ -18,6 +18,7 @@ enum class ShortenName : uint8_t
};
const char* ShortenZoneName( ShortenName type, const char* name, ImVec2& tsz, float zsz );
void TooltipNormalizedName( const char* name, const char* normalized );
static inline const char* ShortenZoneName( ShortenName type, const char* name ) { ImVec2 tsz = {}; return ShortenZoneName( type, name, tsz, 0 ); }