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:
authorAnatoliy Tomilov <tomilovanatoliy@gmail.com>2020-08-06 11:16:23 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2020-08-14 10:57:03 +0300
commitae69fde1783aa2d19f7441f69c5e05160e1783cd (patch)
tree0759a13f24d04d0d04cec1f742042a23dd01d434 /drape_frontend/message_subclasses.hpp
parent627e6811e5dc11bf8aad4f16b82de00e57b5564e (diff)
[drape] [Booking] Introduce special visual representation for unavailable Booking hotels MAPSME-14325
- Add selection option to Booking search marks - Add forceNoWrap option to StraitTextLayout - Track "unavailable" status for search marks - Make special handling for selection of Booking search marks via special badges having strokes - Track "selected" status for search marks - Handle "preparing" status for Booking search marks - Remove extra colors from Booking search marks color scheme - Refactor SearchMarkPoint
Diffstat (limited to 'drape_frontend/message_subclasses.hpp')
-rw-r--r--drape_frontend/message_subclasses.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/drape_frontend/message_subclasses.hpp b/drape_frontend/message_subclasses.hpp
index 7d63e4fbe0..633edeb91a 100644
--- a/drape_frontend/message_subclasses.hpp
+++ b/drape_frontend/message_subclasses.hpp
@@ -531,17 +531,20 @@ public:
, m_glbPoint(m2::PointD::Zero())
, m_isAnim(false)
, m_isDismiss(true)
+ , m_isGeometrySelectionAllowed(false)
+ , m_isSelectionShapeVisible(false)
{}
- SelectObjectMessage(SelectionShape::ESelectedObject selectedObject,
- m2::PointD const & glbPoint, FeatureID const & featureID,
- bool isAnim, bool isGeometrySelectionAllowed)
+ SelectObjectMessage(SelectionShape::ESelectedObject selectedObject, m2::PointD const & glbPoint,
+ FeatureID const & featureID, bool isAnim, bool isGeometrySelectionAllowed,
+ bool isSelectionShapeVisible)
: m_selected(selectedObject)
, m_glbPoint(glbPoint)
, m_featureID(featureID)
, m_isAnim(isAnim)
, m_isDismiss(false)
, m_isGeometrySelectionAllowed(isGeometrySelectionAllowed)
+ , m_isSelectionShapeVisible(isSelectionShapeVisible)
{}
Type GetType() const override { return Type::SelectObject; }
@@ -553,6 +556,7 @@ public:
bool IsAnim() const { return m_isAnim; }
bool IsDismiss() const { return m_isDismiss; }
bool IsGeometrySelectionAllowed() const { return m_isGeometrySelectionAllowed; }
+ bool IsSelectionShapeVisible() const { return m_isSelectionShapeVisible; }
private:
SelectionShape::ESelectedObject m_selected;
@@ -561,6 +565,7 @@ private:
bool m_isAnim;
bool m_isDismiss;
bool m_isGeometrySelectionAllowed;
+ bool m_isSelectionShapeVisible;
};
class CheckSelectionGeometryMessage : public Message