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

user_mark_shapes.hpp « drape_frontend - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 734e34a8f68d39e810c976ce62103355c5c4702f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "tile_key.hpp"
#include "user_marks_provider.hpp"

#include "../drape/batcher.hpp"
#include "../drape/texture_manager.hpp"

#include "../geometry/point2d.hpp"

#include "../std/function.hpp"

namespace df
{
  TileKey GetSearchTileKey();
  TileKey GetApiTileKey();
  TileKey GetBookmarkTileKey(size_t categoryIndex);
  bool IsUserMarkLayer(TileKey const & tileKey);

  void CacheUserMarks(UserMarksProvider const * provider, dp::RefPointer<dp::Batcher> batcher,
                      dp::RefPointer<dp::TextureManager> textures);
} // namespace df