• Erwan Tulou's avatar
    skins2: extend xoffset and yoffset parameters · 31dafe28
    Erwan Tulou authored
    Till now, these two parameters only had a meaning for geographical positioning.
    As explained at http://forum.videolan.org/viewtopic.php?f=26&t=111572,
    extending xoffset and yoffset for the general case would help a lot skin
    developpers easily position an object of unknown size around a given point :
    for instance,
        x="50%" xoffset="-50%" would center an object horizontally.
        x="100%" xoffset="-100%" would set an object to the East
    
    This patch doesn't modify the existing behaviour. It just implements a new
    feature for the case where it was a silent no op.
    
    x,y, width, height percentages are computed against the parent container
    xoffset and yoffset percentages are computed against the current object
    
    TODO: this approach could be generalized to all objects (need to extend the dtd)
    31dafe28
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
bindings Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...