Michael Ragazzon
|
ac7a1dcf9b
Fix some in-source documentation for typos and wrong parameters
|
1 жил өмнө |
Michael Ragazzon
|
313cbab657
Be consistent about using non-namespaced versions of standard integer types, see #470
|
2 жил өмнө |
Michael Ragazzon
|
ce949d2d5b
Refactor Property units and Box enums, and introduce NumericValue [breaking change]
|
2 жил өмнө |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 жил өмнө |
Michael Ragazzon
|
82b6bcf246
Dirty siblings when ID, class or pseudo class is changed
|
3 жил өмнө |
Michael Ragazzon
|
ce85ba7596
Add 'Rml::ReleaseFontResources()' which enables garbage collection of font resources
|
3 жил өмнө |
Michael Ragazzon
|
aba05b4a8e
Update style sheet index cache lookup for faster retrieval of element style definition, see #293.
|
3 жил өмнө |
Michael Ragazzon
|
91f6bfc9d9
Make element definitions const
|
3 жил өмнө |
Michael Ragazzon
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
5 жил өмнө |
Michael Ragazzon
|
6247f3e297
Avoid style sheet copies during load, and only compile style sheet when active media blocks change. Cleanup.
|
4 жил өмнө |
Michael Ragazzon
|
b50e8d192e
Add label element
|
4 жил өмнө |
Michael Ragazzon
|
6935810e12
Performance improvement when dirtying vw and vh units
|
4 жил өмнө |
Maximilian Stark
|
48eda79d2c
Added VH and VW units (#162)
|
4 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Michael Ragazzon
|
836026788b
Clean up element style
|
6 жил өмнө |
Michael Ragazzon
|
d1d72de3f8
Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList)
|
6 жил өмнө |
Michael Ragazzon
|
cb347e1a38
NULL to nullptr
|
6 жил өмнө |
Michael Ragazzon
|
68f53dce67
Clean up types and aliases, trying to be more consistent.
|
6 жил өмнө |
Michael Ragazzon
|
3691b70f98
Remove ReferenceCountable from StyleSheet
|
6 жил өмнө |
Michael Ragazzon
|
6833c4d5bc
Remove reference countable from element definition
|
6 жил өмнө |
Michael Ragazzon
|
391f39b038
Merge branch 'master' into performance
|
6 жил өмнө |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
6 жил өмнө |
Michael Ragazzon
|
9a04ade50b
Cleanup element style and definition.
|
6 жил өмнө |
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.
|
6 жил өмнө |
Michael Ragazzon
|
64334936cd
ElementStyle cleanup. Add const where appropriate. Remove indirection to local style properties. Replace NULL with nullptr.
|
6 жил өмнө |
Michael Ragazzon
|
3f17844b7e
No need to dirty decorators in update definition anymore. Postpone dirty child definitions to update.
|
6 жил өмнө |