diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-11-19 09:33:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:32:56 +0300 |
commit | d5f9daeec0e1044df0feba2d3e84809d4165fcab (patch) | |
tree | 891fdd8c3190d38672c8c3d83d811dadbe6ff1e0 /drape_frontend/shape_view_params.hpp | |
parent | 20f48e426efdd09d23729fea8be264b8de1cce7a (diff) |
review fix
Diffstat (limited to 'drape_frontend/shape_view_params.hpp')
-rw-r--r-- | drape_frontend/shape_view_params.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drape_frontend/shape_view_params.hpp b/drape_frontend/shape_view_params.hpp index 04d8ce2091..e1ae4d3c9c 100644 --- a/drape_frontend/shape_view_params.hpp +++ b/drape_frontend/shape_view_params.hpp @@ -51,6 +51,16 @@ struct LineViewParams : CommonViewParams struct FontDecl { + FontDecl() = default; + FontDecl(dp::Color const & color, float size, + bool needOutline = false, dp::Color const & outlineColor = dp::Color::White()) + : m_color(color) + , m_outlineColor(outlineColor) + , m_size(size) + , m_needOutline(needOutline) + { + } + dp::Color m_color; dp::Color m_outlineColor; float m_size; |