1
0
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:
Bartosz Taudul
2022-08-15 16:34:37 +02:00
parent 07a1383304
commit 8531ef6591
7 changed files with 155 additions and 125 deletions
+1 -11
View File
@@ -18,6 +18,7 @@
#include "TracySourceContents.hpp"
#include "TracyTimelineController.hpp"
#include "TracyUserData.hpp"
#include "TracyUtility.hpp"
#include "TracyVector.hpp"
#include "TracyViewData.hpp"
#include "TracyWorker.hpp"
@@ -124,15 +125,6 @@ public:
Range m_waitStackRange;
private:
enum class ShortenName : uint8_t
{
Never,
Always,
OnlyNormalize,
NoSpace,
NoSpaceAndNormalize,
};
enum class ShortcutAction : uint8_t
{
None,
@@ -179,8 +171,6 @@ private:
void InitMemory();
void InitTextEditor( ImFont* font );
const char* ShortenZoneName( const char* name, ImVec2& tsz, float zsz ) const;
bool DrawImpl();
void DrawNotificationArea();
bool DrawConnection();