Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-16 17:02:57 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-16 17:02:57 +0300
commit9e0fe226df4480779058ed3a692da00680efde28 (patch)
tree1b48c1d4271fda045b5793a6f25fff70ed5599ec /server/TracyView.hpp
parent83fddd9aa626cb23e88ad6ff9f544c1a479feada (diff)
Add small font.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp7
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;