events.c File Reference

Include dependency graph for events.c:


Data Structures

struct  event_thread_t

Defines

#define WM_VLC_HIDE_MOUSE   (WM_APP + 0)
#define WM_VLC_SHOW_MOUSE   (WM_APP + 1)
#define WM_VLC_CHANGE_TEXT   (WM_APP + 2)

Functions

static int DirectXCreateWindow (event_thread_t *)
static void DirectXCloseWindow (event_thread_t *)
static long FAR PASCAL DirectXEventProc (HWND, UINT, WPARAM, LPARAM)
static int DirectXConvertKey (int i_key)
static bool isMouseEvent (WPARAM type)
static bool isKeyEvent (WPARAM type)
static void * EventThread (void *p_this)
void EventThreadMouseAutoHide (event_thread_t *p_event)
void EventThreadMouseShow (event_thread_t *p_event)
void EventThreadUpdateTitle (event_thread_t *p_event, const char *psz_fallback)
int EventThreadGetWindowStyle (event_thread_t *p_event)
void EventThreadUpdateWindowPosition (event_thread_t *p_event, 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 *p_event, bool b_used)
bool EventThreadGetAndResetHasMoved (event_thread_t *p_event)
event_thread_tEventThreadCreate (vout_display_t *vd)
void EventThreadDestroy (event_thread_t *p_event)
int EventThreadStart (event_thread_t *p_event, event_hwnd_t *p_hwnd, const event_cfg_t *p_cfg)
void EventThreadStop (event_thread_t *p_event)

Variables

struct {
   int   i_dxkey
   int   i_vlckey
dxkeys_to_vlckeys []

Define Documentation

#define WM_VLC_CHANGE_TEXT   (WM_APP + 2)

#define WM_VLC_HIDE_MOUSE   (WM_APP + 0)

#define WM_VLC_SHOW_MOUSE   (WM_APP + 1)


Function Documentation

static void DirectXCloseWindow ( event_thread_t p_event  )  [static]

static int DirectXConvertKey ( int  i_key  )  [static]

References dxkeys_to_vlckeys, i, and i_dxkey.

Referenced by EventThread().

static int DirectXCreateWindow ( event_thread_t p_event  )  [static]

static long FAR PASCAL DirectXEventProc ( HWND  hwnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
) [static]

static void* EventThread ( void *  p_this  )  [static]

event_thread_t* EventThreadCreate ( vout_display_t vd  ) 

void EventThreadDestroy ( event_thread_t p_event  ) 

bool EventThreadGetAndResetHasMoved ( event_thread_t p_event  ) 

int EventThreadGetWindowStyle ( event_thread_t p_event  ) 

void EventThreadMouseAutoHide ( event_thread_t p_event  ) 

void EventThreadMouseShow ( event_thread_t p_event  ) 

int EventThreadStart ( event_thread_t p_event,
event_hwnd_t p_hwnd,
const event_cfg_t p_cfg 
)

void EventThreadStop ( event_thread_t p_event  ) 

void EventThreadUpdateSourceAndPlace ( event_thread_t p_event,
const video_format_t p_source,
const vout_display_place_t p_place 
)

void EventThreadUpdateTitle ( event_thread_t p_event,
const char *  psz_fallback 
)

void EventThreadUpdateWindowPosition ( event_thread_t p_event,
bool *  pb_moved,
bool *  pb_resized,
int  x,
int  y,
int  w,
int  h 
)

void EventThreadUseOverlay ( event_thread_t p_event,
bool  b_used 
)

static bool isKeyEvent ( WPARAM  type  )  [inline, static]

Referenced by EventThread().

static bool isMouseEvent ( WPARAM  type  )  [inline, static]

Referenced by EventThread().


Variable Documentation

struct { ... } dxkeys_to_vlckeys[] [static]

Referenced by DirectXConvertKey().

int i_dxkey

Referenced by DirectXConvertKey().

int i_vlckey


Generated on Tue May 25 08:05:35 2010 for VLC by  doxygen 1.5.6