FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <winpr/assert.h>
#include <winpr/sysinfo.h>
#include <freerdp/freerdp.h>
#include "wf_client.h"
#include "wf_gdi.h"
#include "wf_event.h"
#include <freerdp/event.h>
#include <windowsx.h>
Macros | |
#define | RESIZE_MIN_DELAY 200 /* minimum delay in ms between two resizes */ |
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, UINT16 flags, INT32 x, INT32 y) |
static BOOL | ctrl_down (void) |
static BOOL | alt_ctrl_down (void) |
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, INT32 x, INT32 y) |
static void | wf_sizing (wfContext *wfc, WPARAM wParam, LPARAM lParam) |
static void | wf_send_resize (wfContext *wfc) |
LRESULT CALLBACK | wf_event_proc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
static BOOL | wf_scale_mouse_pos (wfContext *wfc, INT32 x, INT32 y, UINT16 *px, UINT16 *py) |
static BOOL | wf_pub_mouse_event (wfContext *wfc, UINT16 flags, UINT16 x, UINT16 y) |
Variables | |
static HWND | g_focus_hWnd = NULL |
static HWND | g_main_hWnd = NULL |
static HWND | g_parent_hWnd = NULL |
static BOOL | g_flipping_in = FALSE |
static BOOL | g_flipping_out = FALSE |
static BOOL | g_keystates [256] = { 0 } |
#define RESIZE_MIN_DELAY 200 /* minimum delay in ms between two resizes */ |
|
static |
|
static |
void wf_event_focus_in | ( | wfContext * | wfc | ) |
LRESULT CALLBACK wf_event_proc | ( | HWND | hWnd, |
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
|
static |
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 ndre .more au@g mail. 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.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
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 ndre .more au@g mail. 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.
|
static |
|
static |
|
static |