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

Adding a copy button to the source view.

This commit is contained in:
Ben Vanik
2024-03-13 09:35:16 -07:00
parent f1998292a4
commit 605cdcb5d5
4 changed files with 16 additions and 1 deletions
+2
View File
@@ -27,6 +27,8 @@ public:
const char* filename() const { return m_file; }
uint32_t idx() const { return m_fileStringIdx; }
bool is_cached() const { return m_data != m_dataBuf; }
const char* data() const { return m_data; }
size_t data_size() const { return m_dataSize; }
private:
const char* m_file;