FreeRDP
SDL2/sdl_pointer.cpp File Reference
#include <freerdp/config.h>
#include <freerdp/gdi/gdi.h>
#include "sdl_pointer.hpp"
#include "sdl_freerdp.hpp"
#include "sdl_touch.hpp"
#include "sdl_utils.hpp"
#include <SDL_mouse.h>

Macros

#define TAG   CLIENT_TAG("SDL.pointer")
 

Typedefs

using sdlPointer = struct { rdpPointer pointer
 

Functions

static BOOL sdl_Pointer_New (rdpContext *context, rdpPointer *pointer)
 
static void sdl_Pointer_Clear (sdlPointer *ptr)
 
static void sdl_Pointer_Free (rdpContext *context, rdpPointer *pointer)
 
static BOOL sdl_Pointer_SetDefault (rdpContext *context)
 
static BOOL sdl_Pointer_Set (rdpContext *context, rdpPointer *pointer)
 
BOOL sdl_Pointer_Set_Process (SDL_UserEvent *uptr)
 
static BOOL sdl_Pointer_SetNull (rdpContext *context)
 
static BOOL sdl_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y)
 
BOOL sdl_register_pointer (rdpGraphics *graphics)
 

Variables

SDL_Cursor * cursor
 
SDL_Surface * image
 
size_t size
 
void * data
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("SDL.pointer")

FreeRDP: A Remote Desktop Protocol Implementation Wayland Mouse Pointer

Copyright 2023 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.

Typedef Documentation

◆ sdlPointer

using sdlPointer = struct { rdpPointer pointer

Function Documentation

◆ sdl_Pointer_Clear()

static void sdl_Pointer_Clear ( sdlPointer ptr)
static
Here is the caller graph for this function:

◆ sdl_Pointer_Free()

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

◆ sdl_Pointer_New()

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

◆ sdl_Pointer_Set()

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

◆ sdl_Pointer_Set_Process()

BOOL sdl_Pointer_Set_Process ( SDL_UserEvent *  uptr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sdl_Pointer_SetDefault()

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

◆ sdl_Pointer_SetNull()

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

◆ sdl_Pointer_SetPosition()

static BOOL sdl_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:

◆ sdl_register_pointer()

BOOL sdl_register_pointer ( rdpGraphics *  graphics)

FreeRDP: A Remote Desktop Protocol Implementation SDL Mouse Pointer

Copyright 2023 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.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cursor

SDL_Cursor* cursor

◆ data

void* data

◆ image

SDL_Surface* image

◆ size

size_t size