* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#include <vlc_vout_window.h>
+
/**
* HWNDs manager.
*/
typedef struct event_thread_t event_thread_t;
-event_thread_t *EventThreadCreate( vout_thread_t * );
+typedef struct {
+ bool use_desktop; /* direct3d */
+ bool use_overlay; /* directx */
+
+ vout_window_cfg_t win;
+} event_cfg_t;
+
+typedef struct {
+ vout_window_t *parent_window;
+ HWND hparent;
+ HWND hwnd;
+ HWND hvideownd;
+ HWND hfswnd;
+} event_hwnd_t;
+
+event_thread_t *EventThreadCreate( vout_display_t *);
void EventThreadDestroy( event_thread_t * );
-int EventThreadStart( event_thread_t * );
+int EventThreadStart( event_thread_t *, event_hwnd_t *, const event_cfg_t * );
void EventThreadStop( event_thread_t * );
-void EventThreadMouseAutoHide( event_thread_t * );
+void EventThreadMouseHide( event_thread_t * );
void EventThreadUpdateTitle( event_thread_t *, const char *psz_fallback );
-unsigned EventThreadRetreiveChanges( event_thread_t * );
int EventThreadGetWindowStyle( event_thread_t * );
+void EventThreadUpdateWindowPosition( event_thread_t *, bool *pb_moved, bool *pb_resized,
+ int x, int y, int w, int h );
+void EventThreadUpdateSourceAndPlace( event_thread_t *p_event,
+ const video_format_t *p_source,
+ const vout_display_place_t *p_place );
+void EventThreadUseOverlay( event_thread_t *, bool b_used );
+bool EventThreadGetAndResetHasMoved( event_thread_t * );
+