events.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include <vlc_vout_window.h>
00026
00027
00028
00029
00030 typedef struct event_thread_t event_thread_t;
00031
00032 typedef struct {
00033 bool use_desktop;
00034 bool use_overlay;
00035
00036 vout_window_cfg_t win;
00037 } event_cfg_t;
00038
00039 typedef struct {
00040 vout_window_t *parent_window;
00041 HWND hparent;
00042 HWND hwnd;
00043 HWND hvideownd;
00044 HWND hfswnd;
00045 } event_hwnd_t;
00046
00047 event_thread_t *EventThreadCreate( vout_display_t *);
00048 void EventThreadDestroy( event_thread_t * );
00049 int EventThreadStart( event_thread_t *, event_hwnd_t *, const event_cfg_t * );
00050 void EventThreadStop( event_thread_t * );
00051
00052 void EventThreadMouseAutoHide( event_thread_t * );
00053 void EventThreadMouseShow( event_thread_t * );
00054 void EventThreadUpdateTitle( event_thread_t *, const char *psz_fallback );
00055 int EventThreadGetWindowStyle( event_thread_t * );
00056 void EventThreadUpdateWindowPosition( event_thread_t *, bool *pb_moved, bool *pb_resized,
00057 int x, int y, int w, int h );
00058 void EventThreadUpdateSourceAndPlace( event_thread_t *p_event,
00059 const video_format_t *p_source,
00060 const vout_display_place_t *p_place );
00061 void EventThreadUseOverlay( event_thread_t *, bool b_used );
00062 bool EventThreadGetAndResetHasMoved( event_thread_t * );
00063