mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Store fixed-width font in View.
This commit is contained in:
parent
d56f7dab09
commit
0b6e55ee87
@ -134,6 +134,7 @@ View::View( void(*cbMainThread)(std::function<void()>), const char* addr, uint16
|
|||||||
, m_reactToLostConnection( true )
|
, m_reactToLostConnection( true )
|
||||||
, m_smallFont( smallFont )
|
, m_smallFont( smallFont )
|
||||||
, m_bigFont( bigFont )
|
, m_bigFont( bigFont )
|
||||||
|
, m_fixedFont( fixedWidth )
|
||||||
, m_stcb( stcb )
|
, m_stcb( stcb )
|
||||||
, m_gwcb( gwcb )
|
, m_gwcb( gwcb )
|
||||||
, m_userData()
|
, m_userData()
|
||||||
@ -155,6 +156,7 @@ View::View( void(*cbMainThread)(std::function<void()>), FileRead& f, ImFont* fix
|
|||||||
, m_messagesScrollBottom( false )
|
, m_messagesScrollBottom( false )
|
||||||
, m_smallFont( smallFont )
|
, m_smallFont( smallFont )
|
||||||
, m_bigFont( bigFont )
|
, m_bigFont( bigFont )
|
||||||
|
, m_fixedFont( fixedWidth )
|
||||||
, m_stcb( stcb )
|
, m_stcb( stcb )
|
||||||
, m_gwcb( gwcb )
|
, m_gwcb( gwcb )
|
||||||
, m_userData( m_worker.GetCaptureProgram().c_str(), m_worker.GetCaptureTime() )
|
, m_userData( m_worker.GetCaptureProgram().c_str(), m_worker.GetCaptureTime() )
|
||||||
|
@ -420,6 +420,7 @@ private:
|
|||||||
|
|
||||||
ImFont* m_smallFont;
|
ImFont* m_smallFont;
|
||||||
ImFont* m_bigFont;
|
ImFont* m_bigFont;
|
||||||
|
ImFont* m_fixedFont;
|
||||||
|
|
||||||
float m_rootWidth, m_rootHeight;
|
float m_rootWidth, m_rootHeight;
|
||||||
SetTitleCallback m_stcb;
|
SetTitleCallback m_stcb;
|
||||||
|
Loading…
Reference in New Issue
Block a user