Michael Ragazzon
|
742894e123
Add a virtual method on elements for responding to recompilation of style sheets. Eg. new style sheets may change sprites, such as in decorators and img elements.
|
4 years ago |
Michael Ragazzon
|
74c5f02849
Add a cache for instanced decorators. Instance decorators during Context::Update. Allow dirtying only element data of decorators instead of a full reload.
|
4 years ago |
Michael Ragazzon
|
79fb3b5405
- Decorators and font effects are now parsed by separate property parsers.
|
4 years ago |
Michael Ragazzon
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
5 years ago |
Michael Ragazzon
|
6247f3e297
Avoid style sheet copies during load, and only compile style sheet when active media blocks change. Cleanup.
|
4 years ago |
Maximilian Stark
|
dd99820ecd
Media queries (#169)
|
4 years ago |
Michael Ragazzon
|
4920cce455
Element::ScrollIntoView: Don't scroll in ancestors with hidden overflow
|
4 years ago |
Michael Ragazzon
|
b50e8d192e
Add label element
|
4 years ago |
Michael Ragazzon
|
3877e3dbad
Remove unnecessary references in arguments. Add conversion between vector types.
|
4 years ago |
Maximilian Stark
|
48eda79d2c
Added VH and VW units (#162)
|
4 years ago |
Maximilian Stark
|
15361e31c4
Element::Closest. Find element ancestor by selector (#164)
|
4 years ago |
Michael Ragazzon
|
57e40eb0f3
Refactor data bindings: Move model handle to 'DataModelHandle.h'. Move DataModel, DataView, and DataController to private headers.
|
5 years ago |
Michael Ragazzon
|
7e434e11a6
Fix potential crash due to loose pointers, documents now clean up after themselves in their owning context when the document is closed.
|
5 years ago |
Michael Ragazzon
|
aee2c49f8b
Add support for table-row-group and table-column-group. Table layout cleanup.
|
5 years ago |
Michael Ragazzon
|
2a65287f61
Render table elements in proper order, bottom-to-top: columns, rows, cells.
|
5 years ago |
Michael Ragazzon
|
e7cc9743a7
Dirty layout when 'rowspan', 'colspan', and 'span' attributes change on tables.
|
5 years ago |
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
|
a638aaf33e
Remove 'offset' from Box.
|
5 years ago |
Michael Ragazzon
|
68044da8db
Scrollbar corner: Add the element's border size to the scrollbarcorner position.
|
5 years ago |
Michael Ragazzon
|
cf935e077a
Added intrinsic ratio for replaced elements. Replaced elements now follow the normal CSS sizing rules, that is, padding and borders are no longer subtracted from the width and height of the element by default.
|
5 years ago |
Michael Ragazzon
|
a603c3b6d1
Implement the 'border-radius' property for backgrounds and borders. Add necessary geometry drawing utilities, merge ElementBackground and ElementBorder into a single unit ElementBackgroundBorder. See #115.
|
5 years ago |
Michael Ragazzon
|
ba0a5190dc
Fix two memory leaks.
|
5 years ago |
Michael Ragazzon
|
7c57bd3a80
Add baseline offset for inline-block elements.
|
5 years ago |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
5 years ago |
Michael Ragazzon
|
9491549950
Implement `Element::QuerySelector` and `Element::QuerySelectorAll`.
|
5 years ago |
Michael Ragazzon
|
98282c7b2e
Refactor some of the Transform functionality. Move functions that should only be called internally to an internal TransformUtilities. Rename Transforms::Primitive to TransformPrimitive.
|
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
|
c09981bc03
Merge branch 'data_binding'
|
5 years ago |
Michael Ragazzon
|
b6a7413a77
Enable removal of data model from context.
|
5 years ago |
Michael Ragazzon
|
9ad45d0319
Add ability to retrieve an existing data model from Context.
|
5 years ago |