FreeRDP
pointer.c File Reference
#include <stdio.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/log.h>
#include <freerdp/cache/pointer.h>
#include "pointer.h"

Macros

#define TAG   FREERDP_TAG("cache.pointer")
 

Functions

static BOOL pointer_cache_put (rdpPointerCache *pointer_cache, UINT32 index, rdpPointer *pointer)
 
static const rdpPointer * pointer_cache_get (rdpPointerCache *pointer_cache, UINT32 index)
 
static void pointer_free (rdpContext *context, rdpPointer *pointer)
 
static BOOL update_pointer_position (rdpContext *context, const POINTER_POSITION_UPDATE *pointer_position)
 
static BOOL update_pointer_system (rdpContext *context, const POINTER_SYSTEM_UPDATE *pointer_system)
 
static BOOL update_pointer_color (rdpContext *context, const POINTER_COLOR_UPDATE *pointer_color)
 
static BOOL update_pointer_new (rdpContext *context, const POINTER_NEW_UPDATE *pointer_new)
 
static BOOL update_pointer_cached (rdpContext *context, const POINTER_CACHED_UPDATE *pointer_cached)
 
void pointer_cache_register_callbacks (rdpUpdate *update)
 
rdpPointerCache * pointer_cache_new (rdpSettings *settings)
 
void pointer_cache_free (rdpPointerCache *pointer_cache)
 
POINTER_COLOR_UPDATE * copy_pointer_color_update (rdpContext *context, const POINTER_COLOR_UPDATE *src)
 
void free_pointer_color_update (rdpContext *context, POINTER_COLOR_UPDATE *pointer)
 
POINTER_NEW_UPDATE * copy_pointer_new_update (rdpContext *context, const POINTER_NEW_UPDATE *src)
 
void free_pointer_new_update (rdpContext *context, POINTER_NEW_UPDATE *pointer)
 
POINTER_CACHED_UPDATE * copy_pointer_cached_update (rdpContext *context, const POINTER_CACHED_UPDATE *pointer)
 
void free_pointer_cached_update (rdpContext *context, POINTER_CACHED_UPDATE *pointer)
 
void free_pointer_position_update (rdpContext *context, POINTER_POSITION_UPDATE *pointer)
 
POINTER_POSITION_UPDATE * copy_pointer_position_update (rdpContext *context, const POINTER_POSITION_UPDATE *pointer)
 
void free_pointer_system_update (rdpContext *context, POINTER_SYSTEM_UPDATE *pointer)
 
POINTER_SYSTEM_UPDATE * copy_pointer_system_update (rdpContext *context, const POINTER_SYSTEM_UPDATE *pointer)
 

Macro Definition Documentation

#define TAG   FREERDP_TAG("cache.pointer")

FreeRDP: A Remote Desktop Protocol Implementation Glyph Cache

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.

Function Documentation

POINTER_CACHED_UPDATE* copy_pointer_cached_update ( rdpContext *  context,
const POINTER_CACHED_UPDATE *  pointer 
)

Here is the call graph for this function:

Here is the caller graph for this function:

POINTER_COLOR_UPDATE* copy_pointer_color_update ( rdpContext *  context,
const POINTER_COLOR_UPDATE *  pointer 
)

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

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:

POINTER_NEW_UPDATE* copy_pointer_new_update ( rdpContext *  context,
const POINTER_NEW_UPDATE *  src 
)

Here is the call graph for this function:

Here is the caller graph for this function:

POINTER_POSITION_UPDATE* copy_pointer_position_update ( rdpContext *  context,
const POINTER_POSITION_UPDATE *  pointer 
)

Here is the call graph for this function:

Here is the caller graph for this function:

POINTER_SYSTEM_UPDATE* copy_pointer_system_update ( rdpContext *  context,
const POINTER_SYSTEM_UPDATE *  pointer 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void free_pointer_cached_update ( rdpContext *  context,
POINTER_CACHED_UPDATE *  pointer 
)

Here is the caller graph for this function:

void free_pointer_color_update ( rdpContext *  context,
POINTER_COLOR_UPDATE *  pointer 
)

Here is the caller graph for this function:

void free_pointer_new_update ( rdpContext *  context,
POINTER_NEW_UPDATE *  pointer 
)

Here is the caller graph for this function:

void free_pointer_position_update ( rdpContext *  context,
POINTER_POSITION_UPDATE *  pointer 
)

Here is the caller graph for this function:

void free_pointer_system_update ( rdpContext *  context,
POINTER_SYSTEM_UPDATE *  pointer 
)

Here is the caller graph for this function:

void pointer_cache_free ( rdpPointerCache *  pointer_cache)

Here is the call graph for this function:

Here is the caller graph for this function:

const rdpPointer * pointer_cache_get ( rdpPointerCache *  pointer_cache,
UINT32  index 
)
static

Here is the caller graph for this function:

rdpPointerCache* pointer_cache_new ( rdpSettings *  settings)

Here is the caller graph for this function:

BOOL pointer_cache_put ( rdpPointerCache *  pointer_cache,
UINT32  index,
rdpPointer *  pointer 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void pointer_cache_register_callbacks ( rdpUpdate *  update)

Here is the call graph for this function:

Here is the caller graph for this function:

static void pointer_free ( rdpContext *  context,
rdpPointer *  pointer 
)
static

Here is the caller graph for this function:

static BOOL update_pointer_cached ( rdpContext *  context,
const POINTER_CACHED_UPDATE *  pointer_cached 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL update_pointer_color ( rdpContext *  context,
const POINTER_COLOR_UPDATE *  pointer_color 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL update_pointer_new ( rdpContext *  context,
const POINTER_NEW_UPDATE *  pointer_new 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL update_pointer_position ( rdpContext *  context,
const POINTER_POSITION_UPDATE *  pointer_position 
)
static

Here is the caller graph for this function:

static BOOL update_pointer_system ( rdpContext *  context,
const POINTER_SYSTEM_UPDATE *  pointer_system 
)
static

Here is the caller graph for this function: