[vlc-commits] commit: skins2: implement art display in image controls (Erwan Tulou )
git at videolan.org
git at videolan.org
Tue May 18 22:13:41 CEST 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue May 18 18:35:56 2010 +0200| [0530638a5038a8bc4abb4fae36d64420e61fb05b] | committer: Erwan Tulou
skins2: implement art display in image controls
This patch gives skins developpers the possibility to display the art file
associated to the current input in an image control.
It features the following :
- a new 'art' boolean parameter is added for the Image control (skin.dtd)
- when set to true, the skin engine will reuse this control to display
the current art file
- in addition to 'scale' and 'mosaic', the resize parameter can now accept
a new 'scale2' value, that respects the original aspect ratio of art files
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0530638a5038a8bc4abb4fae36d64420e61fb05b
---
modules/gui/skins2/Modules.am | 4 +
modules/gui/skins2/controls/ctrl_image.cpp | 97 ++++++++++++++++++++++++++--
modules/gui/skins2/controls/ctrl_image.hpp | 24 +++++--
modules/gui/skins2/parser/builder.cpp | 7 ++-
modules/gui/skins2/parser/builder_data.def | 2 +-
modules/gui/skins2/parser/builder_data.hpp | 5 +-
modules/gui/skins2/parser/skin_parser.cpp | 4 +-
modules/gui/skins2/src/art_bitmap.cpp | 96 +++++++++++++++++++++++++++
modules/gui/skins2/src/art_bitmap.hpp | 66 +++++++++++++++++++
modules/gui/skins2/src/vlcproc.cpp | 10 +++
modules/gui/skins2/src/vlcproc.hpp | 6 ++
modules/gui/skins2/utils/var_string.cpp | 39 +++++++++++
modules/gui/skins2/utils/var_string.hpp | 54 +++++++++++++++
share/skins2/skin.dtd | 1 +
14 files changed, 396 insertions(+), 19 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=0530638a5038a8bc4abb4fae36d64420e61fb05b
More information about the vlc-commits
mailing list