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 |
Michael Ragazzon
|
4b539c167d
Don't dirty every property during ElementStyle initialization. Only dirty as necessary. Make sure we dirty inherited properties when inserted into a new parent.
|
6 years ago |
Michael Ragazzon
|
642d096e44
Make font face handle a computed value, making it cheap to inherit from parent element.
|
6 years ago |
Michael Ragazzon
|
acea973863
Move remaining functions out of String.h and into StringUtilities.h.
|
6 years ago |
Michael Ragazzon
|
2f4b16e8da
New number formatter in debugger
|
6 years ago |
Michael Ragazzon
|
aa80c3b917
Add PropertySource to properties and revise element info debugging
|
6 years ago |
Michael Ragazzon
|
d7c4aa83d5
Remove all_dirty bool in OnPropertyChange
|
6 years ago |
Michael Ragazzon
|
c2a1469cc5
Update element properties when creating scrollbars.
|
6 years ago |
Michael Ragazzon
|
e74110e709
Faster query for dirty layout
|
6 years ago |
Michael Ragazzon
|
d1d72de3f8
Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList)
|
6 years ago |
Michael Ragazzon
|
e21b962117
Core::Lua Plugin now deletes itself on Core::Shutdown.
|
6 years ago |
Michael Ragazzon
|
cb0ad4af19
Clean up element pointers in Context on detach. I think maybe we should use SharedPtr instead of UniquePtr for elements so we can extend its lifetime until the end of the next Update call.
|
6 years ago |
Michael Ragazzon
|
cb347e1a38
NULL to nullptr
|
6 years ago |
Michael Ragazzon
|
130674a7b2
Refining the Core API: Now interfaces and instancers are passed as raw pointers to RmlUi, and considered non-owning. It is the user's responsibility to keep the objects alive until after Core::Shutdown and then release these objects at their discretion.
|
6 years ago |
Michael Ragazzon
|
9a5648389d
Remove the last usage of ReferenceCountable, FontFaceHandle.
|
6 years ago |
Michael Ragazzon
|
3691b70f98
Remove ReferenceCountable from StyleSheet
|
6 years ago |
Michael Ragazzon
|
dc1cff5a4c
Make sure all element removal is signaled to context.
|
6 years ago |
Michael Ragazzon
|
39318abafa
Make a Releasable class for the smart pointer deleters, to aid in correct new/delete across libraries.
|
6 years ago |
Michael Ragazzon
|
99c1873d7c
Clean up. Make element instancer unique_ptr.
|
6 years ago |
Michael Ragazzon
|
ab8bc1e2af
Remove reference count on Element and replace by unique_ptr
|
6 years ago |
Michael Ragazzon
|
f8fbdb6e77
Fix issues where animations removed using std::remove_if were used before erase. Instead, use std::partition. This could previously result in wrong properties being removed from the element when an animation/transition was completed or changed.
|
6 years ago |
Michael Ragazzon
|
27f54e5bff
Move transition/animation update to before style definition update.
|
6 years ago |