Commit 7671dda5 authored by Cyril Deguet's avatar Cyril Deguet

* network stream now work

* double-click is now implemented
parent 5887da81
......@@ -2,7 +2,7 @@
* gtk2_theme.cpp: GTK2 implementation of the Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_theme.cpp,v 1.16 2003/04/17 17:45:38 asmax Exp $
* $Id: gtk2_theme.cpp,v 1.17 2003/04/18 16:04:17 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -260,6 +260,8 @@ void GTK2Theme::AddWindow( string name, int x, int y, bool visible,
return;
}
gdk_window_register_dnd( gwnd );
gdk_window_show( gwnd );
WindowList.push_back( (Window *)new OSWindow( p_intf, gwnd, x, y, visible,
......
......@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.19 2003/04/16 21:50:19 karibu Exp $
* $Id: gtk2_window.cpp,v 1.20 2003/04/18 16:04:17 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -234,12 +234,12 @@ bool GTK2Window::ProcessOSEvent( Event *evt )
case GDK_LEAVE_NOTIFY:
OSAPI_PostMessage( this, WINDOW_LEAVE, 0, 0 );
return true;
/*
case WM_LBUTTONDBLCLK:
MouseDblClick( LOWORD( p2 ), HIWORD( p2 ), 1 );
case GDK_2BUTTON_PRESS:
MouseDblClick( (int)( (GdkEventButton *)p2 )->x,
(int)( (GdkEventButton *)p2 )->y, 1 );
return true;
*/
default:
return false;
}
......
......@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.10 2003/04/16 21:40:07 ipkiss Exp $
* $Id: skin_main.cpp,v 1.11 2003/04/18 16:04:17 asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
......@@ -304,8 +304,9 @@ int SkinManage( intf_thread_t *p_intf )
// Refresh slider
//if( p_input->stream.b_seekable && p_intf->p_sys->b_playing )
//{
// if( p_input->stream.b_seekable && p_intf->p_sys->b_playing )
if( p_input->stream.b_seekable )
{
#define p_area p_input->stream.p_selected_area
// Set value of sliders
......@@ -341,7 +342,7 @@ int SkinManage( intf_thread_t *p_intf )
delete[] text;
#undef p_area
//}
}
vlc_mutex_unlock( &p_input->stream.stream_lock );
}
//-------------------------------------------------------------------------
......
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