[vlc-devel] [PATCH] DPI-awareness - new patchset

Jarrad Whitaker jarrad.whitaker at gmail.com
Sun Nov 9 09:15:54 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a new patchset - it consists of four patches.

1: the previously posted patch to the list

2 (attachment): more changes, incl. loading of high-res icons when
they are available and dynamic drawing of the volume bar (so this may
change rendering at 96dpi slightly). In my mucking around I also
changed the volume icon behaviour slightly (low/med/high/over for <=33
/ <=66 / <=100 / <inf respectively), and changed the native volume
slider to use the same maximum as the default one (currently it looks
like the slider is hardcoded to max out at 200 whereas the default
uses your platform's max if available).

3: SVG icons for most of the toolbar (all of the default buttons in
the standard and adv. toolbars), and a tiny script (requires inkscape
in your $PATH) to use these to generate 128px PNGs

4: the 128px PNGs as generated by aforementioned script, I'm not sure
whether you will want these in the repo or not, as it's probably
better to build them when needed but this would require Inkscape as a
build-dep.

Currently I have VLC using the 128px png icons as SVG support is not
compiled in your build routine and I lack the skillz to get it in
there, however I would propose the SVG icons get included even if only
for ideological reasons (they are a "source" file for the "compiled"
pngs). It would also make it easier for People Who Aren't Me to make
edits to the icons later on.

patch 3 and 4 are at
https://gist.github.com/akdor1154/3ac6ad5a9664dad3584d
and
https://gist.github.com/akdor1154/2f85ccf7d70dad8cc181

and are about 150k each.

It's looking pretty polished now! :)

Cheers
Jarrad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUXyK5AAoJED3oB8CFhvqeEcsP/1ob0uD8onPqV+UfAHOd/Q4e
IASi63tlKa1KLQqY2a035l5TKjRQxvyPclzExco9S8PHzcJH1MpltVDM6oX7LvRQ
xxLAlniyS2ZDnZ8OcYqExTgNhltVl7Z2D9vyHNvQ/hEfj2iznj2bdpu06N1KMzhF
hxiSVmR4gHlUjZKJLCKiDVNS8xkMxM/N3EH9ufSIlva7hzNijYNUpSC6++cysRdH
nXhsJV7Abc3hFEwUnJQPEsoSpfQ6X1zSbAwDeczlvehv3KNNWycI2A5KAiGvIGwd
LYtaKT+ttkqYOETjRbWx7pUE7qs3tN1EiA5Uka8B8gPZZasRhEkd7qiGURu3nCSQ
XW2JCotxfxM6lKvGYz4icNH1oaIO59FKqWK4KffiHBhDDeZ7+18Nge2N3iwcGT4m
cvJSMBcOJ1ef68uMbSOiofaml0EuEkvTo3Ac7NPhEEBxY1OnVGu8O9Jv8YtVRj3J
XLRbui2lnAraJTyroNq31XpCk65DEq+UYCcf0XYg1Dl/Xd7fEG9Hu1azcYsg3Qmr
FYwsebewI8VmEjsOvxW3l7466yajCwdLs6FIYlcgIUE8/q5kT4GzPFvzJtuShsPt
KhDTF47/UwJNQuaAjaq84Fua8mgs7VxMNdLwzcqSOBhapwnJRaxF9VuFDvl1wbTT
irFxiG1oTOv/aqHrVy5s
=hePq
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-more-dpi-awareness-incl-loading-of-high-res-icons-wh.patch
Type: text/x-patch
Size: 21372 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20141109/4487a85b/attachment.bin>


More information about the vlc-devel mailing list