diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2019-09-10 14:00:33 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2019-09-24 19:19:32 +0300 |
commit | a196629d78d732af7b14648c2682e64de2d3b7bc (patch) | |
tree | db3ec5d8e52ae200bd8828685c78caaddb16f922 /drape/texture_manager.hpp | |
parent | 07864dff07ad01acad745d22606d1370d72ce233 (diff) |
[drape][bookmarks] Added support of custom images
Diffstat (limited to 'drape/texture_manager.hpp')
-rw-r--r-- | drape/texture_manager.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drape/texture_manager.hpp b/drape/texture_manager.hpp index e6bba40c32..d34989dd5e 100644 --- a/drape/texture_manager.hpp +++ b/drape/texture_manager.hpp @@ -11,6 +11,7 @@ #include "base/timer.hpp" #include <atomic> +#include <cstdint> #include <list> #include <mutex> #include <string> @@ -43,7 +44,14 @@ public: ref_ptr<Texture> m_texture; }; - class SymbolRegion : public BaseRegion {}; + class SymbolRegion : public BaseRegion + { + public: + uint32_t GetTextureIndex() const { return m_textureIndex; } + void SetTextureIndex(uint32_t index) { m_textureIndex = index; } + private: + uint32_t m_textureIndex = 0; + }; class GlyphRegion : public BaseRegion { |