Michael Ragazzon
|
cde8835600
Layout engine (WIP): Move shrink-to-fit calculation into the box size generator. Fixes eg. shrink-to-fit in 'position: absolute'. Split the layout things to do with sizing into 'LayoutDetails'.
|
5 years ago |
Michael Ragazzon
|
f587d3abf4
Some cleanup in the layout engine.
|
5 years ago |
Michael Ragazzon
|
63a3a1b3dd
Use shrink-to-fit width for floats and absolutetely positioned elements with auto width.
|
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
|
ed53499025
Try again
|
5 years ago |
Michael Ragazzon
|
97729eeefa
Fix some headers
|
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
|
a6d058b58b
Remove 'StyleSheetKeywords.h'. Instead, use the Style:: namespace in ComputedValues.h.
|
6 years ago |
Michael Ragazzon
|
27f5076634
Fix include
|
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
|
cb347e1a38
NULL to nullptr
|
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
|
a0f066d8d7
Fix the data grid and inline-block layout with specified width
|
6 years ago |
Michael Ragazzon
|
6078956945
Clean up
|
6 years ago |
Michael Ragazzon
|
4f8c216c5e
Some cleaning up
|
6 years ago |
Michael Ragazzon
|
cfbf05d038
Replace style cache by computed values
|
6 years ago |
Michael Ragazzon
|
92dd7364f9
Some more
|
6 years ago |
Michael Ragazzon
|
e18ac30c43
Use computed values in layoutengine
|
6 years ago |
Michael Ragazzon
|
83095e12c2
Move computed values file
|
6 years ago |
Michael Ragazzon
|
bb70d38d61
Margin, padding, border, ...
|
6 years ago |
Michael Ragazzon
|
cf928b285e
Move element's main box outside of vector.
|
6 years ago |
Michael Ragazzon
|
ece191a7d8
Memory pool for ElementMeta
|
6 years ago |
Michael Ragazzon
|
f3b9ad29f0
Reverting to commit 9c42c7b. The strings to ID changes were too complicated compared to the performance gained.
|
6 years ago |
Michael Ragazzon
|
1ead58341e
WIP: Replacing strings with IDs now compiling and running (puh). Producing... interesting results.
|
6 years ago |
Michael
|
51efaa7569
Avoid jittering behavior of elements when using subpixel offsets, by no longer rounding dimensions in the layout engine. Translation and vertices that need sharpness (fonts and images) are rounded as late in the pipeline as possible.
|
7 years ago |