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

animation_utils.cpp « drape_frontend - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 09ad468501dafaaa8c731e5c55af671ddaa77588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "drape_frontend/animation_utils.hpp"
#include "drape_frontend/animation_constants.hpp"
#include "drape_frontend/visual_params.hpp"

#include "indexer/scales.hpp"

namespace df
{

bool IsAnimationAllowed(double duration, ScreenBase const & screen)
{
  return duration > 0.0 && duration <= kMaxAnimationTimeSec;
}

} // namespace df