Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
3 năm trước cách đây |
Michael Ragazzon
|
db35715153
Fix offsets of relatively positioned elements with percentage positioning, see #262
|
4 năm trước cách đây |
Michael Ragazzon
|
7824726c51
Implement flexbox layouting
|
4 năm trước cách đây |
Michael Ragazzon
|
ec32b80e47
Layout engine: Improved behavior for collapsing negative vertical margins
|
4 năm trước cách đây |
svenvvv
|
1c01ac33f9
Fix typo in conditional potentially causing incorrect results
|
4 năm trước cách đây |
Michael Ragazzon
|
3877e3dbad
Remove unnecessary references in arguments. Add conversion between vector types.
|
4 năm trước cách đây |
Michael Ragazzon
|
828d52bff2
Split layout pool to avoid wasted memory.
|
5 năm trước cách đây |
Michael Ragazzon
|
4771ced11d
LayoutDetails: Cleanup
|
5 năm trước cách đây |
Michael Ragazzon
|
5810cf7216
LayoutEngine: Be more explicit about content sizing and overflow. Catches more overflow situations.
|
5 năm trước cách đây |
Michael Ragazzon
|
59b7f050d5
LayoutEngine: Move the box generation out of the LayoutBlockBox and pass it in.
|
5 năm trước cách đây |
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 năm trước cách đây |
Michael Ragazzon
|
d5615eda9d
Implement the 'box-sizing' property.
|
5 năm trước cách đây |
Michael Ragazzon
|
b5588b2b13
Layout engine: Clean-up.
|
5 năm trước cách đây |
Michael Ragazzon
|
674e9a533e
Try to fix build.
|
5 năm trước cách đây |
Michael Ragazzon
|
7c57bd3a80
Add baseline offset for inline-block elements.
|
5 năm trước cách đây |
Michael Ragazzon
|
241824e986
Fix clipping of overflowing inline content. See #116.
|
5 năm trước cách đây |
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 năm trước cách đây |
Michael Ragazzon
|
f587d3abf4
Some cleanup in the layout engine.
|
5 năm trước cách đây |
Michael Ragazzon
|
63a3a1b3dd
Use shrink-to-fit width for floats and absolutetely positioned elements with auto width.
|
5 năm trước cách đây |
Michael Ragazzon
|
c864264553
Fix overflow and clipping issues with 'overflow: auto' and 'overflow: hidden' on nested elements. See #116. Some additional tests added.
|
5 năm trước cách đây |
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 năm trước cách đây |
Michael Ragazzon
|
9f17bde203
Property 'white-space: nowrap' should not disable scrollbars on overflow. See #94.
|
5 năm trước cách đây |
Michael Ragazzon
|
97729eeefa
Fix some headers
|
5 năm trước cách đây |
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 năm trước cách đây |
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 năm trước cách đây |
Michael Ragazzon
|
af46806480
Fix some static analysis warnings
|
6 năm trước cách đây |
Michael Ragazzon
|
a6d058b58b
Remove 'StyleSheetKeywords.h'. Instead, use the Style:: namespace in ComputedValues.h.
|
6 năm trước cách đây |
Michael Ragazzon
|
0951b7e355
Implement support for Tracy profiler
|
6 năm trước cách đây |
Michael Ragazzon
|
cb347e1a38
NULL to nullptr
|
6 năm trước cách đây |
Michael Ragazzon
|
391f39b038
Merge branch 'master' into performance
|
6 năm trước cách đây |