diff options
Diffstat (limited to 'android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp')
-rw-r--r-- | android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp b/android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp index 4421543bdc..d886b23073 100644 --- a/android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp +++ b/android/jni/com/mapswithme/maps/bookmarks/data/BookmarkCategory.cpp @@ -111,12 +111,12 @@ extern "C" string formattedLenght; MeasurementUtils::FormatDistance(nTrack->GetLengthMeters(), formattedLenght); - graphics::Color nColor = nTrack->GetMainColor(); + dp::Color nColor = nTrack->GetMainColor(); - jint androidColor = shift(nColor.a, 24) + - shift(nColor.r, 16) + - shift(nColor.g, 8) + - nColor.b; + jint androidColor = shift(nColor.GetAlfa(), 24) + + shift(nColor.GetRed(), 16) + + shift(nColor.GetGreen(), 8) + + nColor.GetBlue(); return env->NewObject(trackClazz, cId, index, id, jni::ToJavaString(env, nTrack->GetName()), |