]> git.sesse.net Git - vlc/commitdiff
skins2 : remove dead code (VoutWindow)
authorErwan Tulou <erwan10@videolan.org>
Wed, 13 Jan 2010 10:42:01 +0000 (11:42 +0100)
committerErwan Tulou <erwan10@videolan.org>
Thu, 14 Jan 2010 14:22:00 +0000 (15:22 +0100)
modules/gui/skins2/src/vout_window.cpp
modules/gui/skins2/src/vout_window.hpp

index a80b865c718d7c8270a3b52e8d826a56d0cdaea6..034ba46eecd5bea524a6c5eb5cca03fb18050d1d 100644 (file)
 #include <vlc_keys.h>
 
 
-
-int VoutWindow::count = 0;
-
 VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd,
                         int width, int height, GenericWindow* pParent ) :
       GenericWindow( pIntf, 0, 0, false, false, pParent,
                      GenericWindow::VoutWindow ),
       m_pWnd( pWnd ), original_width( width ), original_height( height ),
-      m_pParentWindow( pParent ), m_pCtrlVideo( NULL ), m_bFullscreen( false )
+      m_pParentWindow( pParent ), m_pCtrlVideo( NULL )
 {
-    // counter for debug
-    count++;
-
     if( m_pWnd )
         vlc_object_hold( m_pWnd );
 }
@@ -55,9 +49,6 @@ VoutWindow::~VoutWindow()
 {
     if( m_pWnd )
         vlc_object_release( m_pWnd );
-
-    count--;
-    msg_Dbg( getIntf(), "VoutWindow count = %d", count );
 }
 
 
@@ -94,12 +85,6 @@ void VoutWindow::setCtrlVideo( CtrlVideo* pCtrlVideo )
 }
 
 
-void VoutWindow::setFullscreen( bool b_fullscreen )
-{
-    /*TODO: fullscreen implementation */
-}
-
-
 void VoutWindow::processEvent( EvtKey &rEvtKey )
 {
     // Only do the action when the key is down
index 2ff60ba750f09867aea5c8c2d8249ab3de23ca29..f64d033809bc2a7c812cee0a5487d2c398ddc7ab 100644 (file)
@@ -40,9 +40,6 @@ public:
                 int width, int height, GenericWindow* pParent = NULL );
     virtual ~VoutWindow();
 
-    // counter used for debugging purpose
-    static int count;
-
     /// Make some functions public
     //@{
     using GenericWindow::show;
@@ -62,10 +59,6 @@ public:
     virtual void setCtrlVideo( CtrlVideo* pCtrlVideo );
     virtual CtrlVideo* getCtrlVideo( ) { return m_pCtrlVideo; }
 
-    /// toggle fullscreen mode
-    virtual void setFullscreen( bool b_fullscreen );
-    virtual bool isFullscreen() { return m_bFullscreen; }
-
     /// get original size of vout
     virtual int getOriginalWidth( ) { return original_width; }
     virtual int getOriginalHeight( ) { return original_height; }
@@ -85,9 +78,6 @@ private:
     int original_width;
     int original_height;
 
-    /// fulscreen mode indicator
-    bool m_bFullscreen;
-
     /// VideoControl attached to it
     CtrlVideo* m_pCtrlVideo;