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

Push small font to SourceView.

This commit is contained in:
Bartosz Taudul
2021-11-20 14:47:13 +01:00
parent f0d524ad1f
commit 7b2ed41179
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -144,7 +144,7 @@ public:
SourceView( GetWindowCallback gwcb );
void UpdateFont( ImFont* font ) { m_font = font; }
void UpdateFont( ImFont* fixed, ImFont* small ) { m_font = fixed; m_smallFont = small; }
void SetCpuId( uint32_t cpuid );
void OpenSource( const char* fileName, int line, const View& view, const Worker& worker );
@@ -198,6 +198,7 @@ private:
tracy_force_inline void UnsetFont();
ImFont* m_font;
ImFont* m_smallFont;
uint64_t m_symAddr;
uint64_t m_baseAddr;
uint64_t m_targetAddr;