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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drape_frontend/shape_view_params.hpp')
-rw-r--r--drape_frontend/shape_view_params.hpp10
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;