FreeRDP
wf_event.c File Reference
#include <stdio.h>
#include <freerdp/freerdp.h>
#include "wf_client.h"
#include "wf_gdi.h"
#include "wf_event.h"
#include <freerdp/event.h>

Macros

#define X_POS(lParam)   ((UINT16) (lParam & 0xFFFF))
 
#define Y_POS(lParam)   ((UINT16) ((lParam >> 16) & 0xFFFF))
 

Functions

static BOOL wf_scale_blt (wfContext *wfc, HDC hdc, int x, int y, int w, int h, HDC hdcSrc, int x1, int y1, DWORD rop)
 
static BOOL wf_scale_mouse_event (wfContext *wfc, rdpInput *input, UINT16 flags, UINT16 x, UINT16 y)
 
static BOOL alt_ctrl_down ()
 
LRESULT CALLBACK wf_ll_kbd_proc (int nCode, WPARAM wParam, LPARAM lParam)
 
void wf_event_focus_in (wfContext *wfc)
 
static BOOL wf_event_process_WM_MOUSEWHEEL (wfContext *wfc, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, BOOL horizontal, UINT16 x, UINT16 y)
 
static void wf_sizing (wfContext *wfc, WPARAM wParam, LPARAM lParam)
 
LRESULT CALLBACK wf_event_proc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 
static BOOL wf_scale_mouse_pos (wfContext *wfc, UINT16 *x, UINT16 *y)
 

Variables

static HWND g_focus_hWnd
 
static BOOL g_flipping_in
 
static BOOL g_flipping_out
 

Macro Definition Documentation

#define X_POS (   lParam)    ((UINT16) (lParam & 0xFFFF))
#define Y_POS (   lParam)    ((UINT16) ((lParam >> 16) & 0xFFFF))

Function Documentation

static BOOL alt_ctrl_down ( )
static

Here is the caller graph for this function:

void wf_event_focus_in ( wfContext *  wfc)

Here is the caller graph for this function:

LRESULT CALLBACK wf_event_proc ( 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 BOOL wf_event_process_WM_MOUSEWHEEL ( wfContext *  wfc,
HWND  hWnd,
UINT  Msg,
WPARAM  wParam,
LPARAM  lParam,
BOOL  horizontal,
UINT16  x,
UINT16  y 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

LRESULT CALLBACK wf_ll_kbd_proc ( int  nCode,
WPARAM  wParam,
LPARAM  lParam 
)

FreeRDP: A Remote Desktop Protocol Implementation Event Handling

Copyright 2009-2011 Jay Sorg Copyright 2010-2011 Vic Lee Copyright 2010-2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL wf_scale_blt ( wfContext *  wfc,
HDC  hdc,
int  x,
int  y,
int  w,
int  h,
HDC  hdcSrc,
int  x1,
int  y1,
DWORD  rop 
)
static

Here is the caller graph for this function:

static BOOL wf_scale_mouse_event ( wfContext *  wfc,
rdpInput *  input,
UINT16  flags,
UINT16  x,
UINT16  y 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL wf_scale_mouse_pos ( wfContext *  wfc,
UINT16 x,
UINT16 y 
)
static

Here is the caller graph for this function:

static void wf_sizing ( wfContext *  wfc,
WPARAM  wParam,
LPARAM  lParam 
)
static

Here is the caller graph for this function:

Variable Documentation

BOOL g_flipping_in
static
BOOL g_flipping_out
static
HWND g_focus_hWnd
static

FreeRDP: A Remote Desktop Protocol Implementation Event Handling

Copyright 2009-2011 Jay Sorg Copyright 2010-2011 Vic Lee Copyright 2010-2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.