diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-11-07 15:19:21 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-01-09 14:11:11 +0300 |
commit | 96b5b1f78456750554e8ac1a003672d192f38ebd (patch) | |
tree | f12a157dc402d75b1711f4dc7f03236bce2cf7eb /drape/drape_global.hpp | |
parent | 05de20f50ffa0bd6bf7f08ddcadd368ae8410da2 (diff) |
Non-sdf text support for ldpi devices.
Conflicts:
drape/texture_manager.hpp
Diffstat (limited to 'drape/drape_global.hpp')
-rw-r--r-- | drape/drape_global.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drape/drape_global.hpp b/drape/drape_global.hpp index 8487ad7f8d..4b6899b927 100644 --- a/drape/drape_global.hpp +++ b/drape/drape_global.hpp @@ -63,16 +63,18 @@ enum LineJoin struct FontDecl { FontDecl() = default; - FontDecl(Color const & color, float size, Color const & outlineColor = Color::Transparent()) + FontDecl(Color const & color, float size, bool isSdf = true, Color const & outlineColor = Color::Transparent()) : m_color(color) , m_outlineColor(outlineColor) , m_size(size) + , m_isSdf(isSdf) { } Color m_color = Color::Transparent(); Color m_outlineColor = Color::Transparent(); float m_size = 0; + bool m_isSdf = true; }; } |