diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-03-03 13:26:48 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:12:26 +0300 |
commit | e559265e4e6bfabf6b05d5d156e09bb206b737fa (patch) | |
tree | 69450b738100046f3543a5d06f9fe349eadface0 /map/location_state.hpp | |
parent | 2fa97998cc0f28699c82cad4d33901bafd610a49 (diff) |
new resources
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r-- | map/location_state.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp index f5a83efaee..30a28c630b 100644 --- a/map/location_state.hpp +++ b/map/location_state.hpp @@ -7,6 +7,7 @@ #include "../geometry/point2d.hpp" #include "../geometry/screenbase.hpp" +#include "../std/shared_ptr.hpp" #include "../std/scoped_ptr.hpp" #include "../std/map.hpp" @@ -47,9 +48,11 @@ namespace location private: static const double s_cacheRadius; - //shared_ptr<anim::Task> m_radiusAnimation; + shared_ptr<anim::Task> m_radiusAnimation; + void UpdateAnimation(); void SetErrorRadius(double errorRadius); double GetErrorRadius() const; + float GetTransparency() const; double m_errorRadius; //< error radius in mercator m2::PointD m_position; //< position in mercator |