Manuel Mommertz
e928c0baaf
allow SharedSvgRenderer to put interesting elements in the rect cache on load
...
fixes the detection of svgs that use a style for system colors
svn path=/trunk/KDE/kdelibs/; revision=1207463
2010-12-18 08:54:17 +00:00
Aaron J. Seigo
fdd473d31d
* this introduces a Theme object used by Svg to cache the rendering of svg's asking to be colorized, but which are not part of the theme. this requires an independent cache and set of color files, therefore a second Theme object. SvgPrivate::actualTheme() is thus overridden by SvgPrivate::cacheAndColorsTheme() whenever caching or colors are used.
...
* consolidate the signal/slot connections in SvgPrivate::checkColorHints, and now the check is consistent on all paths (previously, it wasn't!)
* missing (and possible cause of cache key ambiguity) separator in CACHE_ID_WITH_SIZE
svn path=/trunk/KDE/kdelibs/; revision=1203346
2010-12-03 17:10:13 +00:00
Ingomar Wesp
e049ecb34d
Do not require an exact match for size hinted elements, but search for the smallest size hinted element that is bigger than the display size. Thanks to mommertz, who outlined and mentored this patch, element ids are cached both locally and in the theme, so no additional calls to createRenderer are required.
...
This was discussed in <http://svn.reviewboard.kde.org/r/5689/ >.
svn path=/trunk/KDE/kdelibs/; revision=1191192
2010-10-29 22:14:18 +00:00
Stephen Kelly
f57dd2eb1c
Fix build.
...
svn path=/trunk/KDE/kdelibs/; revision=1185860
2010-10-14 12:16:56 +00:00
Aaron J. Seigo
2f491094c0
* move SvgPrivate into a separate header
...
* introduce a hack around setImagePath not being virtual but reimplemented in FrameSvg. (oi vey!)
svn path=/trunk/KDE/kdelibs/; revision=1185843
2010-10-14 11:43:01 +00:00