Support zone name shortening without text/zone sizes.

This commit is contained in:
Bartosz Taudul
2022-08-15 16:39:25 +02:00
parent 8531ef6591
commit 57cabc1e09

View File

@@ -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