summaryrefslogtreecommitdiff
path: root/include/mbgl/style/transition_options.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] TransitionOptions s/operator bool/isDefined/Bruno de Oliveira Abinader2017-04-141-1/+1
|
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-1/+13
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core] Cleaned up TransitionOptionsBruno de Oliveira Abinader2016-06-201-7/+3
|
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+19