GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
dx_window.c File Reference
#include "dx_hw.h"
#include <gpac/user.h>
#include "resource.h"
+ Include dependency graph for dx_window.c:

Macros

#define WM_MOUSEWHEEL   0x020A
 
#define WHEEL_DELTA   120
 
#define MOUSE_HIDE_TIMEOUT   1000
 
#define WS_EX_LAYERED   0x80000
 
#define LWA_COLORKEY   0x00000001
 
#define LWA_ALPHA   0x00000002
 

Typedefs

typedef BOOL(WINAPI * typSetLayeredWindowAttributes )(HWND, COLORREF, BYTE, DWORD)
 

Functions

void DD_SetCursor (GF_VideoOutput *dr, u32 cursor_type)
 
static void DD_GetCoordinates (LPARAM lParam, GF_Event *evt)
 
static void w32_translate_key (WPARAM wParam, LPARAM lParam, GF_EventKey *evt)
 
static void mouse_move (DDContext *ctx, GF_VideoOutput *vout)
 
static void mouse_start_timer (DDContext *ctx, HWND hWnd, GF_VideoOutput *vout)
 
void grab_mouse (DDContext *ctx, GF_VideoOutput *vout)
 
void release_mouse (DDContext *ctx, HWND hWnd, GF_VideoOutput *vout)
 
LRESULT APIENTRY DD_WindowProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
static void SetWindowless (GF_VideoOutput *vout, HWND hWnd)
 
Bool DD_InitWindows (GF_VideoOutput *vout, DDContext *ctx)
 
u32 DD_WindowThread (void *par)
 
void DD_SetupWindow (GF_VideoOutput *dr, u32 flags)
 
static void dd_closewindow (HWND hWnd)
 
void DD_ShutdownWindow (GF_VideoOutput *dr)
 
HWND DD_GetGlobalHWND ()
 
static u32 get_sys_col (int idx)
 
GF_Err DD_ProcessEvent (GF_VideoOutput *dr, GF_Event *evt)
 

Variables

static const GF_VideoOutputthe_video_output = 0
 

Macro Definition Documentation

#define WM_MOUSEWHEEL   0x020A
#define WHEEL_DELTA   120
#define MOUSE_HIDE_TIMEOUT   1000
#define WS_EX_LAYERED   0x80000
#define LWA_COLORKEY   0x00000001
#define LWA_ALPHA   0x00000002

Typedef Documentation

typedef BOOL(WINAPI* typSetLayeredWindowAttributes)(HWND, COLORREF, BYTE, DWORD)

Function Documentation

void DD_SetCursor ( GF_VideoOutput dr,
u32  cursor_type 
)

+ Here is the caller graph for this function:

static void DD_GetCoordinates ( LPARAM  lParam,
GF_Event evt 
)
static

+ Here is the caller graph for this function:

static void w32_translate_key ( WPARAM  wParam,
LPARAM  lParam,
GF_EventKey evt 
)
static

+ Here is the caller graph for this function:

static void mouse_move ( DDContext ctx,
GF_VideoOutput vout 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void mouse_start_timer ( DDContext ctx,
HWND  hWnd,
GF_VideoOutput vout 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void grab_mouse ( DDContext ctx,
GF_VideoOutput vout 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void release_mouse ( DDContext ctx,
HWND  hWnd,
GF_VideoOutput vout 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LRESULT APIENTRY DD_WindowProc ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SetWindowless ( GF_VideoOutput vout,
HWND  hWnd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool DD_InitWindows ( GF_VideoOutput vout,
DDContext ctx 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 DD_WindowThread ( void *  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DD_SetupWindow ( GF_VideoOutput dr,
u32  flags 
)

+ Here is the call graph for this function:

static void dd_closewindow ( HWND  hWnd)
static

+ Here is the caller graph for this function:

void DD_ShutdownWindow ( GF_VideoOutput dr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

HWND DD_GetGlobalHWND ( )

+ Here is the caller graph for this function:

static u32 get_sys_col ( int  idx)
static

+ Here is the caller graph for this function:

GF_Err DD_ProcessEvent ( GF_VideoOutput dr,
GF_Event evt 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const GF_VideoOutput* the_video_output = 0
static