]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/x11/x11_window.hpp
skins2 vout manager
[vlc] / modules / gui / skins2 / x11 / x11_window.hpp
index 186a8c2edef955906a8c37a9aa83a50dda7b0d19..f20b06daf14ccbae666d620035481cf3291710f9 100644 (file)
@@ -65,11 +65,22 @@ class X11Window: public OSWindow
         /// Get the window ID
         Window getDrawable() const { return m_wnd; }
 
+        /// Getter for the handler
+        void* getOSHandle() const { return (void*) m_wnd; }
+
+        /// Getter for the handler
+        void* getParentOSHandle() const { return (void*) m_wnd_parent; }
+
+        /// reparent the window
+        void reparent( void* OSHandle, int x, int y, int w, int h );
+
     private:
         /// X11 display
         X11Display &m_rDisplay;
         /// Window ID
         Window m_wnd;
+        /// Window ID
+        Window m_wnd_parent;
         /// Parent window
         X11Window *m_pParent;
         /// Indicates whether the window handles drag&drop events