Commit e0674167 authored by Erwan Tulou's avatar Erwan Tulou

skins2 : remove dead code (VoutWindow)

parent c0550de8
......@@ -33,19 +33,13 @@
#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
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment