diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:02:57 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:02:57 +0300 |
commit | 9e0fe226df4480779058ed3a692da00680efde28 (patch) | |
tree | 1b48c1d4271fda045b5793a6f25fff70ed5599ec /server/TracyView.cpp | |
parent | 83fddd9aa626cb23e88ad6ff9f544c1a479feada (diff) |
Add small font.
Diffstat (limited to 'server/TracyView.cpp')
-rw-r--r-- | server/TracyView.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e60a594a..3c7b9d74 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -110,13 +110,14 @@ enum { MinFrameSize = 5 }; static View* s_instance = nullptr; -View::View( const char* addr, ImFont* fixedWidth, ImFont* bigFont, SetTitleCallback stcb ) +View::View( const char* addr, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont, SetTitleCallback stcb ) : m_worker( addr ) , m_staticView( false ) , m_pause( false ) , m_frames( nullptr ) , m_messagesScrollBottom( true ) , m_textEditorFont( fixedWidth ) + , m_smallFont( smallFont ) , m_bigFont( bigFont ) , m_stcb( stcb ) , m_userData() @@ -127,13 +128,14 @@ View::View( const char* addr, ImFont* fixedWidth, ImFont* bigFont, SetTitleCallb InitTextEditor(); } -View::View( FileRead& f, ImFont* fixedWidth, ImFont* bigFont, SetTitleCallback stcb ) +View::View( FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont, SetTitleCallback stcb ) : m_worker( f ) , m_staticView( true ) , m_pause( true ) , m_frames( m_worker.GetFramesBase() ) , m_messagesScrollBottom( false ) , m_textEditorFont( fixedWidth ) + , m_smallFont( smallFont ) , m_bigFont( bigFont ) , m_stcb( stcb ) , m_userData( m_worker.GetCaptureProgram().c_str(), m_worker.GetCaptureTime() ) |