FreeRDP
xf_graphics.c File Reference
#include <freerdp/config.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <float.h>
#include <math.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/codec/rfx.h>
#include "xf_graphics.h"
#include "xf_event.h"
#include <freerdp/log.h>

Macros

#define TAG   CLIENT_TAG("x11")
 

Functions

static BOOL xf_Pointer_Set (rdpContext *context, rdpPointer *pointer)
 
BOOL xf_decode_color (xfContext *xfc, const UINT32 srcColor, XColor *color)
 
static BOOL xf_Pointer_GetCursorForCurrentScale (rdpContext *context, rdpPointer *pointer, Cursor *cursor)
 
static Window xf_Pointer_get_window (xfContext *xfc)
 
BOOL xf_pointer_update_scale (xfContext *xfc)
 
static BOOL xf_Pointer_New (rdpContext *context, rdpPointer *pointer)
 
static void xf_Pointer_Free (rdpContext *context, rdpPointer *pointer)
 
static BOOL xf_Pointer_SetNull (rdpContext *context)
 
static BOOL xf_Pointer_SetDefault (rdpContext *context)
 
static BOOL xf_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y)
 
BOOL xf_register_pointer (rdpGraphics *graphics)
 
UINT32 xf_get_local_color_format (xfContext *xfc, BOOL aligned)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("x11")

FreeRDP: A Remote Desktop Protocol Implementation X11 Graphical Objects

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016 Thincast Technologies GmbH Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

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.

Function Documentation

◆ xf_decode_color()

BOOL xf_decode_color ( xfContext *  xfc,
const UINT32  srcColor,
XColor *  color 
)
Here is the call graph for this function:

◆ xf_get_local_color_format()

UINT32 xf_get_local_color_format ( xfContext *  xfc,
BOOL  aligned 
)
Here is the caller graph for this function:

◆ xf_Pointer_Free()

static void xf_Pointer_Free ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_get_window()

static Window xf_Pointer_get_window ( xfContext *  xfc)
static
Here is the caller graph for this function:

◆ xf_Pointer_GetCursorForCurrentScale()

static BOOL xf_Pointer_GetCursorForCurrentScale ( rdpContext *  context,
rdpPointer *  pointer,
Cursor *  cursor 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_New()

static BOOL xf_Pointer_New ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_Set()

static BOOL xf_Pointer_Set ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_SetDefault()

static BOOL xf_Pointer_SetDefault ( rdpContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_SetNull()

static BOOL xf_Pointer_SetNull ( rdpContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_Pointer_SetPosition()

static BOOL xf_Pointer_SetPosition ( rdpContext *  context,
UINT32  x,
UINT32  y 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_pointer_update_scale()

BOOL xf_pointer_update_scale ( xfContext *  xfc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_register_pointer()

BOOL xf_register_pointer ( rdpGraphics *  graphics)

FreeRDP: A Remote Desktop Protocol Implementation X11 Graphical Objects

Copyright 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: