]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/parser/builder_data.hpp
* all: added a new xml element: "SubBitmap". It allows to define
[vlc] / modules / gui / skins2 / parser / builder_data.hpp
index 33b22c863a80e9f1f95002fd9c93e6bbeb9d510d..04e5bc27c0c5ec96e13cee112e8de9a411202b49 100644 (file)
@@ -66,6 +66,22 @@ m_id( id ), m_fileName( fileName ), m_alphaColor( alphaColor ) {}
     /// List
     list<Bitmap> m_listBitmap;
 
+    /// Type definition
+    struct SubBitmap
+    {
+        SubBitmap( const string & id, const string & parent, int x, int y, int width, int height ):
+m_id( id ), m_parent( parent ), m_x( x ), m_y( y ), m_width( width ), m_height( height ) {}
+
+        const string m_id;
+        const string m_parent;
+        int m_x;
+        int m_y;
+        int m_width;
+        int m_height;
+    };
+    /// List
+    list<SubBitmap> m_listSubBitmap;
+
     /// Type definition
     struct BitmapFont
     {