]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/x11/x11_window.hpp
* Fix missing include causing a build failure with GCC 4.3; patch by
[vlc] / modules / gui / skins2 / x11 / x11_window.hpp
index de7b920ce556febec79406985bb996b3f30e3463..186a8c2edef955906a8c37a9aa83a50dda7b0d19 100644 (file)
@@ -1,11 +1,11 @@
 /*****************************************************************************
  * x11_window.hpp
  *****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 the VideoLAN team
  * $Id$
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
- *          Olivier Teulière <ipkiss@via.ecp.fr>
+ *          Olivier Teulière <ipkiss@via.ecp.fr>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifndef X11_WINDOW_HPP
@@ -57,7 +57,7 @@ class X11Window: public OSWindow
         virtual void raise() const;
 
         /// Set the opacity of the window (0 = transparent, 255 = opaque)
-        virtual void setOpacity( uint8_t value );
+        virtual void setOpacity( uint8_t value ) const;
 
         /// Toggle the window on top
         virtual void toggleOnTop( bool onTop ) const;
@@ -70,6 +70,8 @@ class X11Window: public OSWindow
         X11Display &m_rDisplay;
         /// Window ID
         Window m_wnd;
+        /// Parent window
+        X11Window *m_pParent;
         /// Indicates whether the window handles drag&drop events
         bool m_dragDrop;
         /// Drop target