Michael Ragazzon
|
6ebaa76960
Image elements: Fix wrong dp-scaling being applied when an image is cloned through a parent element, see #310
|
пре 3 година |
Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
пре 3 година |
Michael Ragazzon
|
0639b0fff0
Add printf-style warnings to the Log system. Fix resulting warnings.
|
пре 4 година |
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 година |
Michael Ragazzon
|
8aeb207f9c
Add natural display dimensions to decorators based on spritesheet source scaling and dp-ratio.
|
пре 4 година |
Michael Ragazzon
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
пре 5 година |
Maximilian Stark
|
dd99820ecd
Media queries (#169)
|
пре 4 година |
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 година |
Michael Ragazzon
|
17d27efc80
Fix perfect forwarding and wrong bool type.
|
пре 5 година |
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 година |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
пре 5 година |
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 година |