1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Initialize text editor.

This commit is contained in:
Bartosz Taudul
2018-08-17 14:44:41 +02:00
parent a90ed5b4b8
commit 9dbc56beb6
4 changed files with 30 additions and 0 deletions
+6
View File
@@ -4,6 +4,7 @@
#include <atomic>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <thread>
#include <vector>
@@ -20,6 +21,7 @@ namespace tracy
struct QueueItem;
class FileRead;
class TextEditor;
class View
{
@@ -55,6 +57,8 @@ private:
Short
};
void InitTextEditor();
const char* ShortenNamespace( const char* name ) const;
void DrawHelpMarker( const char* desc ) const;
@@ -229,6 +233,8 @@ private:
Vector<const ZoneEvent*> m_zoneInfoStack;
Vector<const GpuEvent*> m_gpuInfoStack;
std::unique_ptr<TextEditor> m_textEditor;
struct FindZone {
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
enum class GroupBy : int { Thread, UserText, Callstack };