Michael Ragazzon
|
ddf2e41447
Add a margin for floating-point imprecision when deciding whether or not to clip overflowing content. Remove unnecessary caching of clip state.
|
5 years ago |
Michael Ragazzon
|
d5615eda9d
Implement the 'box-sizing' property.
|
5 years ago |
Michael Ragazzon
|
b5588b2b13
Layout engine: Clean-up.
|
5 years ago |
Michael Ragazzon
|
674e9a533e
Try to fix build.
|
5 years ago |
Michael Ragazzon
|
7c57bd3a80
Add baseline offset for inline-block elements.
|
5 years ago |
Michael Ragazzon
|
241824e986
Fix clipping of overflowing inline content. See #116.
|
5 years ago |
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
|
c864264553
Fix overflow and clipping issues with 'overflow: auto' and 'overflow: hidden' on nested elements. See #116. Some additional tests added.
|
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
|
9f17bde203
Property 'white-space: nowrap' should not disable scrollbars on overflow. See #94.
|
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
|
af46806480
Fix some static analysis warnings
|
6 years ago |
Michael Ragazzon
|
a6d058b58b
Remove 'StyleSheetKeywords.h'. Instead, use the Style:: namespace in ComputedValues.h.
|
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
|
6078956945
Clean up
|
6 years ago |
Michael Ragazzon
|
390b6e07ba
Replacing GetLocalProperty
|
6 years ago |
Michael Ragazzon
|
cfbf05d038
Replace style cache by computed values
|
6 years ago |
Michael Ragazzon
|
c285bf99e9
Compute all the properties!
|
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 |
Michael
|
4d667faaec
Inline block performance issue fix.
|
7 years ago |
Michael
|
a2f38415ba
Inline-box fix max-width min-width
|
7 years ago |