mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Extract ShortenZoneName() function to a separate file.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef __TRACYUTILITY_HPP__
|
||||
#define __TRACYUTILITY_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "imgui.h"
|
||||
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
enum class ShortenName : uint8_t
|
||||
{
|
||||
Never,
|
||||
Always,
|
||||
OnlyNormalize,
|
||||
NoSpace,
|
||||
NoSpaceAndNormalize,
|
||||
};
|
||||
|
||||
const char* ShortenZoneName( ShortenName type, const char* name, ImVec2& tsz, float zsz );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user