summaryrefslogtreecommitdiff
path: root/platform/macos/src/NSColor+MGLAdditions.h
Commit message (Collapse)AuthorAgeFilesLines
* Eviscerate mbgl expression to Foundation JSON object conversion (#11389)Minh Nguyễn2018-03-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Eviscerate mbgl expression to Foundation JSON object conversion * [ios, macos] Remove literal special case MGLJSONObjectFromMBGLValue() is just a literal translation from C++ types to Foundation types; no need for expression-specific literal wrapping. * [ios, macos] Implemented RGB(A) operators * [ios, macos] More robust color conversion * [macos] Create calibrated RGB from expression on Sierra * [macos] Calibrate colors in expressions at runtime * [ios, macos] Special-case number conversion without fallbacks * [ios, macos] Test mgl_number expressions * [ios, macos] Updated tests for aftermarket expressions * [ios, macos] Relax roundtripping requirement for serialize() * [ios, macos] Fixed interpolation expression tests * [ios, macos] Removed dead code * [ios, macos] Fixed color conversion on Sierra
* [macos] Assume sRGB for mbgl expressions, CSS in attributionMinh Nguyễn2018-03-071-1/+1
| | | | Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
* [ios, macos] Change runtime styling category method prefix to mgl_Jason Wray2016-10-171-3/+3
| | | | This makes runtime styling category method naming consistent with the rest of the SDK.
* [ios, macos] Renamed Objective-C++ headers to .hMinh Nguyễn2016-08-161-0/+20
Also removed a redundant reference to MGLStyle_Private.h in ios.xcodeproj. Fixes #5952.