#pragma once #include "graphics/defines.hpp" namespace graphics { static const int debugDepth = maxDepth; static const int benchmarkDepth = maxDepth; static const int compassDepth = maxDepth; static const int rulerDepth = maxDepth; static const int countryStatusDepth = maxDepth - 10; /// @todo 100 is a temporary solution fo iOS. /// Need to review logic of gui elements, glyphs and symbols caching /// (display_list_cache.dpp). Depth is hardcoded there. static const int balloonContentInc = 100; static const int balloonBaseDepth = countryStatusDepth - (balloonContentInc + 10); static const int locationDepth = balloonBaseDepth - 10; static const int locationFaultDepth = locationDepth - 10; static const int routingFinishDepth = locationFaultDepth - balloonContentInc; static const int activePinDepth = routingFinishDepth - balloonContentInc; static const int routingSymbolsDepth = activePinDepth - balloonContentInc; static const int tracksDepth = routingSymbolsDepth - balloonContentInc; static const int arrowDepth = tracksDepth + 10; static const int tracksOutlineDepth = tracksDepth - 10; static const int bookmarkDepth = tracksOutlineDepth - balloonContentInc; }