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:
+1
-11
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user