1 /*****************************************************************************
2 * event.h: Windows video output header file
3 *****************************************************************************
4 * Copyright (C) 2001-2009 the VideoLAN team
7 * Authors: Gildas Bazin <gbazin@videolan.org>
8 * Damien Fouilleul <damienf@videolan.org>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #include <vlc_vout_window.h>
30 typedef struct event_thread_t event_thread_t;
33 bool use_desktop; /* direct3d */
34 bool use_overlay; /* directx */
38 vout_window_t *parent_window;
45 event_thread_t *EventThreadCreate( vout_thread_t *, const vout_window_cfg_t * );
46 void EventThreadDestroy( event_thread_t * );
47 int EventThreadStart( event_thread_t *, event_hwnd_t *, const event_cfg_t * );
48 void EventThreadStop( event_thread_t * );
50 void EventThreadMouseAutoHide( event_thread_t * );
51 void EventThreadMouseShow( event_thread_t * );
52 void EventThreadUpdateTitle( event_thread_t *, const char *psz_fallback );
53 unsigned EventThreadRetreiveChanges( event_thread_t * );
54 int EventThreadGetWindowStyle( event_thread_t * );
55 void EventThreadUpdateWindowPosition( event_thread_t *, bool *pb_changed,
56 int x, int y, int w, int h );
57 void EventThreadUseOverlay( event_thread_t *, bool b_used );