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.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
642d096e44
Make font face handle a computed value, making it cheap to inherit from parent element.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
acea973863
Move remaining functions out of String.h and into StringUtilities.h.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
2f4b16e8da
New number formatter in debugger
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
aa80c3b917
Add PropertySource to properties and revise element info debugging
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
d7c4aa83d5
Remove all_dirty bool in OnPropertyChange
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
c2a1469cc5
Update element properties when creating scrollbars.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
e74110e709
Faster query for dirty layout
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
d1d72de3f8
Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList)
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
e21b962117
Core::Lua Plugin now deletes itself on Core::Shutdown.
|
%!s(int64=6) %!d(string=hai) anos |
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.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
cb347e1a38
NULL to nullptr
|
%!s(int64=6) %!d(string=hai) anos |
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.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
9a5648389d
Remove the last usage of ReferenceCountable, FontFaceHandle.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
3691b70f98
Remove ReferenceCountable from StyleSheet
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
dc1cff5a4c
Make sure all element removal is signaled to context.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
39318abafa
Make a Releasable class for the smart pointer deleters, to aid in correct new/delete across libraries.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
99c1873d7c
Clean up. Make element instancer unique_ptr.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
ab8bc1e2af
Remove reference count on Element and replace by unique_ptr
|
%!s(int64=6) %!d(string=hai) anos |
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.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
27f54e5bff
Move transition/animation update to before style definition update.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
391f39b038
Merge branch 'master' into performance
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
93dd452fbd
Merge branch 'property_id' into performance
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
9a04ade50b
Cleanup element style and definition.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
23e356ae4c
Remove pseudo class properties from element definition. This simplifies the code a whole lot, and makes fetching a new definition a lot faster. This means that we have to fetch new definitions more often (specifically, now also when we set a pseudo class), but despite this, the net performance gains are substantial. We could introduce flags to avoid this later.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
64334936cd
ElementStyle cleanup. Add const where appropriate. Remove indirection to local style properties. Replace NULL with nullptr.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
05a24f63d5
Now that we have PropertyIds, we can use a bitset to represent dirty properties, increasing iteration performance.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
08bdba69b3
Changed the tiled-decorators to take 'x y width height' properties instead of two coordinates, optimize decorator instantiation, especially when using sprites.
|
%!s(int64=6) %!d(string=hai) anos |
Michael Ragazzon
|
cc0b4a459a
Decorators and their instancers now use smart pointers instead of manual reference counting
|
%!s(int64=6) %!d(string=hai) anos |