]> git.sesse.net Git - vlc/commit
skins2: add width/height parameters to slider
authorErwan Tulou <erwan10@videolan.org>
Sat, 22 Jun 2013 15:24:11 +0000 (17:24 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 22 Jun 2013 16:29:45 +0000 (18:29 +0200)
commit91a9eee8d96f13e26336a72307291f3e716200a0
tree144a99f9ccc2cdc7b5c3ebe6cc98f20a12c8f443
parentd15b308ea7f784f6be301e1742a48b359107f0eb
skins2: add width/height parameters to slider

These parameters will allow to create a slider which adapts to the display.
width/height parameters will be optional. If set, the initial slider will
be resized to meet these requirements.

A main use case will be the possibility to create a fullscreen timeslider
that automatically spans the whole screen whatever the screen resolution.
e.g syntax would be <Slider width="100%" ....>
modules/gui/skins2/parser/builder.cpp
modules/gui/skins2/parser/builder_data.def
modules/gui/skins2/parser/builder_data.hpp
modules/gui/skins2/parser/skin_parser.cpp
share/skins2/skin.dtd