On Mon, 2016-10-31 at 21:26 +0100, Tomaž Vajngerl wrote:
Hi,
I made some changes to how we handle icons and load images:
1.) It is possible to load SVG images from icon theme
Loading of SVG images was already possible (the rendering is done
with drawing layer when and svg parsing with "svgio") if you refer to
an image with "svg" file extension (which we practically never do).
Questions, ideas, comments, suggestions are welcome.
Loads of nice things here. One thought, while reading the gtk apis, is
there any support for "symbolic" color names in all of this. GTK seems
to have the idea of using svgs where there are some symbolic color
names which are swapped with colors from the theme at load/render time.
Where this seems useful to me for us, is that in our status bar at the
bottom of writer there are some icons which are typically mostly gray
in the non-dark themes but the intention seems basically that the icon
foreground is the same as the text color. It could be nice to capture
that with some "text-color" name in the svg and always have status bar
icons drawn with the color as their label text.
C.
--
To unsubscribe e-mail to: design+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/design/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.