summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/gstwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/gstreamer/gstwindow.cxx')
-rw-r--r--avmedia/source/gstreamer/gstwindow.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx
index 4e0f6f3c3d..9228f9e6c9 100644
--- a/avmedia/source/gstreamer/gstwindow.cxx
+++ b/avmedia/source/gstreamer/gstwindow.cxx
@@ -89,7 +89,6 @@ Window::~Window()
void SAL_CALL Window::update( )
throw (uno::RuntimeException)
{
- //::RedrawWindow( (HWND) mnFrameWnd, NULL, NULL, RDW_ALLCHILDREN | RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE );
}
// ------------------------------------------------------------------------------
@@ -105,7 +104,6 @@ sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel eZoomLevel )
if( eZoomLevel != meZoomLevel )
{
meZoomLevel = eZoomLevel;
- //ImplLayoutVideoWindow();
}
bRet = true;
@@ -136,11 +134,6 @@ void SAL_CALL Window::setPointerType( sal_Int32 nPointerType )
void SAL_CALL Window::setPosSize( sal_Int32 /*X*/, sal_Int32 /*Y*/, sal_Int32 /*Width*/, sal_Int32 /*Height*/, sal_Int16 /*Flags*/ )
throw (uno::RuntimeException)
{
-// if( mnFrameWnd )
-// {
-// ::SetWindowPos( (HWND) mnFrameWnd, HWND_TOP, X, Y, Width, Height, 0 );
-// ImplLayoutVideoWindow();
-// }
}
// ------------------------------------------------------------------------------
@@ -154,20 +147,6 @@ awt::Rectangle SAL_CALL Window::getPosSize()
aRet.Width = 320;
aRet.Height = 240;
-// if( mnFrameWnd )
-// {
-// ::RECT aWndRect;
-// long nX = 0, nY = 0, nWidth = 0, nHeight = 0;
-
-// if( ::GetClientRect( (HWND) mnFrameWnd, &aWndRect ) )
-// {
-// aRet.X = aWndRect.left;
-// aRet.Y = aWndRect.top;
-// aRet.Width = aWndRect.right - aWndRect.left + 1;
-// aRet.Height = aWndRect.bottom - aWndRect.top + 1;
-// }
-// }
-
return aRet;
}
@@ -176,15 +155,7 @@ awt::Rectangle SAL_CALL Window::getPosSize()
void SAL_CALL Window::setVisible( sal_Bool /*bVisible*/ )
throw (uno::RuntimeException)
{
-// if( mnFrameWnd )
-// {
-// IVideoWindow* pVideoWindow = const_cast< IVideoWindow* >( mrPlayer.getVideoWindow() );
-// if( pVideoWindow )
-// pVideoWindow->put_Visible( bVisible ? OATRUE : OAFALSE );
-
-// ::ShowWindow( (HWND) mnFrameWnd, bVisible ? SW_SHOW : SW_HIDE );
-// }
}
// ------------------------------------------------------------------------------
@@ -192,8 +163,6 @@ void SAL_CALL Window::setVisible( sal_Bool /*bVisible*/ )
void SAL_CALL Window::setEnable( sal_Bool /*bEnable*/ )
throw (uno::RuntimeException)
{
-// if( mnFrameWnd )
-// ::EnableWindow( (HWND) mnFrameWnd, bEnable );
}
// ------------------------------------------------------------------------------
@@ -201,8 +170,6 @@ void SAL_CALL Window::setEnable( sal_Bool /*bEnable*/ )
void SAL_CALL Window::setFocus( )
throw (uno::RuntimeException)
{
-// if( mnFrameWnd )
-// ::SetFocus( (HWND) mnFrameWnd );
}
// ------------------------------------------------------------------------------
@@ -301,7 +268,6 @@ void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintList
maListeners.removeInterface( getCppuType( &xListener ), xListener );
}
-
// XComponent
// ------------------------------------------------------------------------------