]> git.sesse.net Git - vlc/commitdiff
skins2: remove dead code
authorErwan Tulou <erwan10@videolan.org>
Mon, 25 Jan 2010 10:31:21 +0000 (11:31 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 25 Jan 2010 19:07:40 +0000 (20:07 +0100)
modules/gui/skins2/commands/cmd_resize.cpp
modules/gui/skins2/commands/cmd_resize.hpp
modules/gui/skins2/controls/ctrl_video.cpp
modules/gui/skins2/controls/ctrl_video.hpp

index 2d98543869f13b8d2c9c1c395a93bf0d36da359e..5903b4624194dca20bd5f205899cb288496e1d16 100644 (file)
@@ -44,17 +44,6 @@ void CmdResize::execute()
 
 
 
-CmdResizeInnerVout::CmdResizeInnerVout( intf_thread_t *pIntf,
-                    CtrlVideo* pCtrlVideo )
-    : CmdGeneric( pIntf ), m_pCtrlVideo( pCtrlVideo ) { }
-
-
-void CmdResizeInnerVout::execute()
-{
-    m_pCtrlVideo->resizeInnerVout();
-}
-
-
 CmdResizeVout::CmdResizeVout( intf_thread_t *pIntf, vout_window_t* pWnd,
                               int width, int height )
     : CmdGeneric( pIntf ), m_pWnd( pWnd ), m_width( width ),
index 23afb4f03d6730a373f14ae77db01f550ebe8e76..cf89d43375ece67d96ee22769d80a80d8e24cb4f 100644 (file)
@@ -51,21 +51,6 @@ private:
 };
 
 
-/// Command to resize the inner vout window
-class CmdResizeInnerVout: public CmdGeneric
-{
-public:
-    /// Resize the given layout
-    CmdResizeInnerVout( intf_thread_t *pIntf, CtrlVideo* pCtrlVideo );
-    virtual ~CmdResizeInnerVout() { }
-    virtual void execute();
-    virtual string getType() const { return "resize inner vout"; }
-
-private:
-    CtrlVideo* m_pCtrlVideo;
-};
-
-
 /// Command to resize the vout window
 class CmdResizeVout: public CmdGeneric
 {
index 484feb84afc56366c13f65ae03417b04bee77100..a430fedbfadb388f626d125cfc75ddc838a80b56 100644 (file)
@@ -212,19 +212,3 @@ void CtrlVideo::detachVoutWindow( )
     m_pVoutWindow = NULL;
 }
 
-
-void CtrlVideo::resizeInnerVout( )
-{
-    if( m_pVoutWindow )
-    {
-        WindowManager &rWindowManager =
-             getIntf()->p_sys->p_theme->getWindowManager();
-        TopWindow* pWin = getWindow();
-
-        const Position *pPos = getPosition();
-
-        m_pVoutWindow->resize( pPos->getWidth(), pPos->getHeight() );
-        m_pVoutWindow->move( pPos->getLeft(), pPos->getTop() );
-    }
-}
-
index 570bd1c34161a0c923813a1c6df7021734e3cd11..2f9a19bb0bd323cfea1b0b2222ee49d2884ad980 100644 (file)
@@ -66,9 +66,6 @@ public:
     // Detach a voutWindow from a Video Control
     void detachVoutWindow( );
 
-    // Update the inner part of the Video Control
-    void resizeInnerVout( );
-
     // Get TopWindow associated with the video control
     virtual TopWindow* getWindow() { return CtrlGeneric::getWindow(); }