Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
5 years ago |
Michael Ragazzon
|
98282c7b2e
Refactor some of the Transform functionality. Move functions that should only be called internally to an internal TransformUtilities. Rename Transforms::Primitive to TransformPrimitive.
|
5 years ago |
Michael Ragazzon
|
e9844e3801
The big restructuring for RmlUi 4.0. This involves breaking changes but should benefit everyone using the library in the future.
|
5 years ago |
Michael Ragazzon
|
005b4042c7
Several warnings fixed with '-Wall -Wextra' and on MSVC with '/W4'.
|
5 years ago |
Michael Ragazzon
|
6c53cbf85b
Remove #include "precompiled.h" from source files, CMake handles it instead. Include what we actually use in header and source files. For non-precompiled headers measurements indicate ~30% reduction in compile time. See #81.
|
5 years ago |
Michael Ragazzon
|
8a0e9a0e3a
Transform animations:
|
6 years ago |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 years ago |
Michael Ragazzon
|
039841c537
Make the resolve length functions safer, returns zero if unsuccessful. Rename to ResolveLength (emphasizes returned unit). Add Element::ResolveLength(property_name). See #55.
|
6 years ago |
Michael Ragazzon
|
7a0c4df49f
Some transform fixes: Fix conversion to generic type (for interpolation), and add ToString() for decomposed matrix.
|
6 years ago |
Michael Ragazzon
|
b6739b4684
Replace render interface functions PushTransform and PopTransform with SetTransform
|
6 years ago |
Michael Ragazzon
|
40f19fe151
Completely revised transforms implementation. Please have a look at the readme and updated transform sample for details.
|
6 years ago |
Michael Ragazzon
|
391f39b038
Merge branch 'master' into performance
|
6 years ago |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
6 years ago |
Michael Ragazzon
|
ffccffd759
Avoid property copy and unnecessary compare (thanks @viciious, see #8)
|
6 years ago |
Michael Ragazzon
|
2a53aa9424
Fix some compiler warnings
|
6 years ago |
Michael Ragazzon
|
90c2d5005e
Merge remote-tracking branch 'origin/master' into performance
|
6 years ago |
Michael Ragazzon
|
39aff9cc4c
Add rocketcore_api as appropriate and move ToString functions to cpp-file
|
6 years ago |
Michael Ragazzon
|
6078956945
Clean up
|
6 years ago |
Michael Ragazzon
|
42309c4c7e
Initial support for C++11.
|
6 years ago |
Michael
|
9bb9c01bf9
Convert transform, animation, and transition to string.
|
7 years ago |
Michael
|
946e1f208e
Transition-end event, and fix Matrix3d primitive.
|
7 years ago |
Michael
|
b6927b4e0c
More strict about units. Numbers, lengths, angles and percentages are now separated. Lengths require a unit, except for "0".
|
7 years ago |
Michael
|
1455ce70b9
Cleaning up animation, converting transforms to decomposed type when necessary.
|
7 years ago |
Michael
|
ddfaa3fa3e
Proper full matrix interpolation by de- and recomposition.
|
7 years ago |
Michael
|
4ec999e3d8
Allow matching transform primitives in their generic forms (e.g. translateX to translate3d). Helper functions and constructors for creating Transform animations.
|
7 years ago |
Michael
|
3999bd623a
Refactoring
|
7 years ago |
Michael
|
d093d96237
Implement support for different angle units in transforms. Resolve units of Primitives when adding animation keys.
|
7 years ago |
Michael
|
3397937d79
Interpolating transforms for animation.Implemented Primitives as variants to avoid RTTI and virtual function calls. Now targeting C++17.
|
7 years ago |
Michael
|
0a0da1a0ec
Transforms should be updated when e.g. dragging window.
|
7 years ago |
Markus Schöngart
|
8deea52b73
Updated transform property patch
|
11 years ago |