Michael Ragazzon
|
29f3d5956c
Image element: Handle zero dimensions without producing NaN-numbers
|
4 months ago |
mcukstorm
|
ac696a20c9
Image element: Maintain aspect ratio when height or width attribute is set (#771)
|
7 months ago |
Michael Ragazzon
|
38dd25c45c
Add methods to media elements to manually trigger loading of source files, see #763
|
7 months ago |
Michael Ragazzon
|
b197f985b3
Prevent gaps when rendering fractionally sized elements, resolves #438
|
1 year ago |
Michael Ragazzon
|
a452f26951
Refactor Geometry and Texture, introduce unique render resources
|
2 years ago |
Michael Ragazzon
|
c802aeb21b
Use premultiplied alpha for vertex colors
|
2 years ago |
Michael Ragazzon
|
ce949d2d5b
Refactor Property units and Box enums, and introduce NumericValue [breaking change]
|
2 years ago |
Michael Ragazzon
|
0bbd0193cb
Only allow a single render interface, remove the ability to set per-context render interfaces [breaking change]
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Michael Ragazzon
|
5267e7792f
Add Rectangle class
|
3 years ago |
Michael Ragazzon
|
6ebaa76960
Image elements: Fix wrong dp-scaling being applied when an image is cloned through a parent element, see #310
|
3 years ago |
Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
3 years ago |
Michael Ragazzon
|
0639b0fff0
Add printf-style warnings to the Log system. Fix resulting warnings.
|
4 years ago |
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
|
8aeb207f9c
Add natural display dimensions to decorators based on spritesheet source scaling and dp-ratio.
|
4 years ago |
Michael Ragazzon
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
5 years ago |
Maximilian Stark
|
dd99820ecd
Media queries (#169)
|
4 years ago |
Michael Ragazzon
|
2e9503f5d8
Make the <img> element load the texture once attached to the document. (It still won't actually be compiled until it is rendered). This allows listing and pre-fetching all image sources in the document, even if they are not displayed yet. See #131.
|
5 years ago |
Michael Ragazzon
|
17d27efc80
Fix perfect forwarding and wrong bool type.
|
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 |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
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 |