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.hpp | |
parent | 83fddd9aa626cb23e88ad6ff9f544c1a479feada (diff) |
Add small font.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r-- | server/TracyView.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp index f7bf25ea..4cde43c2 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -62,9 +62,9 @@ public: using SetTitleCallback = void(*)( const char* ); - View( ImFont* fixedWidth = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ) : View( "127.0.0.1", fixedWidth, bigFont, stcb ) {} - View( const char* addr, ImFont* fixedWidth = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ); - View( FileRead& f, ImFont* fixedWidth = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ); + View( ImFont* fixedWidth = nullptr, ImFont* smallFont = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ) : View( "127.0.0.1", fixedWidth, smallFont, bigFont, stcb ) {} + View( const char* addr, ImFont* fixedWidth = nullptr, ImFont* smallFont = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ); + View( FileRead& f, ImFont* fixedWidth = nullptr, ImFont* smallFont = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr ); ~View(); static bool Draw(); @@ -321,6 +321,7 @@ private: ImFont* m_textEditorFont; bool m_textEditorWhitespace = true; + ImFont* m_smallFont; ImFont* m_bigFont; float m_rootWidth, m_rootHeight; |