Michael Ragazzon
|
261d08ce87
Reduce memory footprint of Element
|
5 years ago |
Michael Ragazzon
|
a6f5078531
Cleaning up header files: Include what we use.
|
5 years ago |
Michael Ragazzon
|
7d37ea414e
Remove unused headers, forward declare instead where possible. Move Tween functions into cpp-file. Remove Stream conversion to/from String through type converter.
|
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
|
c21bc50407
Wrap Dictionary value in Variant()
|
5 years ago |
Michael Ragazzon
|
90c452b3a4
Don't remove animated properties initiated through the Element API.
|
5 years ago |
Michael Ragazzon
|
e6c30727c6
Animated properties are now removed when an animation completes. Do an extra pass of UpdateProperties whenever the animation property is changed.
|
6 years ago |
Michael Ragazzon
|
d0cb138139
Avoid crash when constructing invalid animations.
|
6 years ago |
Michael Ragazzon
|
5f9323a85d
Fix some warnings
|
6 years ago |
Michael Ragazzon
|
270c5286d6
Scroll to rounded pixel values
|
6 years ago |
Michael Ragazzon
|
8a0e9a0e3a
Transform animations:
|
6 years ago |
Michael Ragazzon
|
c76723803d
Remove Event::PreventDefault(), it is not working as one might expect from the name.
|
6 years ago |
Michael Ragazzon
|
3f173e524a
Update demo sample
|
6 years ago |
Michael Ragazzon
|
3658cf07f2
Apply transform in correct order
|
6 years ago |
Michael Ragazzon
|
85fc4c69e2
Clean up the event dispatcher
|
6 years ago |
Michael Ragazzon
|
f745fac0ee
WIP: Rework event dispatcher loop, introduce observer pointer (for now based on std::shared_ptr)
|
6 years ago |
Michael Ragazzon
|
820e36071a
Blur element when made invisible, maybe fixes #57
|
6 years ago |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 years ago |
Michael Ragazzon
|
63e2666865
Make Element::GetProperty<T> safe for invalid names, see #56.
|
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
|
cd670fc143
Refactoring FontEngineDefault (part I). Isolate the interface with FreeType. All font engine default files moved to a separate folder.
|
6 years ago |
Victor Luchits
|
4e85f31111
Refactor the fonts subsystem to allow external font providers
|
6 years ago |
Michael Ragazzon
|
c1d7870981
Update box dirty changes immediately.
|
6 years ago |
Michael Ragazzon
|
0391c9db9b
Fix some control elements rendered one frame after.
|
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
|
92bb7b5891
Move UpdateTransformState() to Element::Render(). The transforms depend on the layouting (element size), this change ensures that the transforms are updated with the correct size for the current frame.
|
6 years ago |
Michael Ragazzon
|
25b8b45ca7
Rework some of the element instancers and the pool. Use pools for assigning plain Elements and ElementTextDefault.
|
6 years ago |
Michael Ragazzon
|
b10a47c0c1
Additional profiling zones
|
6 years ago |
Michael Ragazzon
|
0951b7e355
Implement support for Tracy profiler
|
6 years ago |