FreeRDP
|
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <freerdp/codecs.h>
#include <freerdp/log.h>
#include "wf_gdi.h"
#include "wf_graphics.h"
Macros | |
#define | TAG CLIENT_TAG("windows") |
Functions | |
HBITMAP | wf_create_dib (wfContext *wfc, UINT32 width, UINT32 height, UINT32 srcFormat, const BYTE *data, BYTE **pdata) |
wfBitmap * | wf_image_new (wfContext *wfc, UINT32 width, UINT32 height, UINT32 format, const BYTE *data) |
void | wf_image_free (wfBitmap *image) |
static BOOL | wf_Bitmap_New (rdpContext *context, rdpBitmap *bitmap) |
static void | wf_Bitmap_Free (rdpContext *context, rdpBitmap *bitmap) |
static BOOL | wf_Bitmap_Paint (rdpContext *context, rdpBitmap *bitmap) |
static BOOL | wf_Bitmap_SetSurface (rdpContext *context, rdpBitmap *bitmap, BOOL primary) |
static BOOL | flip_bitmap (const BYTE *src, BYTE *dst, UINT32 scanline, UINT32 nHeight) |
static BOOL | wf_Pointer_New (rdpContext *context, rdpPointer *pointer) |
static void | wf_Pointer_Free (rdpContext *context, rdpPointer *pointer) |
static BOOL | wf_Pointer_Set (rdpContext *context, rdpPointer *pointer) |
static BOOL | wf_Pointer_SetNull (rdpContext *context) |
static BOOL | wf_Pointer_SetDefault (rdpContext *context) |
static BOOL | wf_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y) |
BOOL | wf_register_pointer (rdpGraphics *graphics) |
BOOL | wf_register_graphics (rdpGraphics *graphics) |
#define TAG CLIENT_TAG("windows") |
FreeRDP: A Remote Desktop Protocol Implementation Windows Graphical Objects
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 |
HBITMAP wf_create_dib | ( | wfContext * | wfc, |
UINT32 | width, | ||
UINT32 | height, | ||
UINT32 | format, | ||
const BYTE * | data, | ||
BYTE ** | pdata | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation Windows Graphical Objects
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.
See: http://msdn.microsoft.com/en-us/library/dd183376 if biHeight is positive, the bitmap is bottom-up if biHeight is negative, the bitmap is top-down Since we get top-down bitmaps, let's keep it that way
void wf_image_free | ( | wfBitmap * | image | ) |
wfBitmap* wf_image_new | ( | wfContext * | wfc, |
UINT32 | width, | ||
UINT32 | height, | ||
UINT32 | format, | ||
const BYTE * | data | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL wf_register_graphics | ( | rdpGraphics * | graphics | ) |
BOOL wf_register_pointer | ( | rdpGraphics * | graphics | ) |