mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Support zone name shortening without text/zone sizes.
This commit is contained in:
parent
8531ef6591
commit
57cabc1e09
@ -19,6 +19,8 @@ enum class ShortenName : uint8_t
|
||||
|
||||
const char* ShortenZoneName( ShortenName type, const char* name, ImVec2& tsz, float zsz );
|
||||
|
||||
static inline const char* ShortenZoneName( ShortenName type, const char* name ) { ImVec2 tsz = {}; return ShortenZoneName( type, name, tsz, 0 ); }
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user