]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/parser/skin_parser.hpp
skins2: fix nested panels wrongly positioned if not the first child
[vlc] / modules / gui / skins2 / parser / skin_parser.hpp
index f9d955097983f4c695c550c3c276a2b9e854118d..fb85adaee93589d04c0002124d477e1f3cc337db 100644 (file)
@@ -98,8 +98,7 @@ private:
     const string uniqueId( const string &id );
 
     /// Management of relative positions
-    int getRefWidth( bool toScreen );
-    int getRefHeight( bool toScreen );
+    void getRefDimensions( int &rWidth, int &rHeight, bool toScreen );
     int getDimension( string value, int refDimension );
     int getPosition( string value );
     void updateWindowPos( int width, int height );