Postby erwan10 » 18 May 2010 22:37
To skins developpers,
As a new feature (committed in the dev branch only, aka vlc1.2 ), art can now be used in skins
In a nutshell, it goes like this :
- a new 'art' parameter(boolean) is added to an Image control so that the skin engine can reuse the control to display the art file associated to the current item being played back. (default value is 'false').
- the 'resize' parameter can now be either 'scale', 'mosaic' or a new 'scale2' value for scaling while preserving the aspect
ratio of images. Image is centered and scaled either height or widthwise. Extra borders are transparent.
As an example, the default skin shipped with vlc has been changed to feature art display in the same way as it is done for the qt4 interface. The video widget and the art widget are located in the same place. The art is displayed if no video is available.
Feedbacks/requests welcome
Erwan10