Definition at line 46 of file SDL2/sdl_freerdp.hpp.
◆ SdlContext()
SdlContext::SdlContext |
( |
rdpContext * |
context | ) |
|
|
explicit |
Definition at line 1745 of file SDL2/sdl_freerdp.cpp.
1746 : _context(context), log(WLog_Get(SDL_TAG)), update_complete(true), disp(this), input(this),
1747 primary(nullptr, SDL_FreeSurface), primary_format(nullptr, SDL_FreeFormat),
1748 rdp_thread_running(false)
1749{
1750 WINPR_ASSERT(context);
1752}
FREERDP_API BOOL freerdp_settings_get_bool(const rdpSettings *settings, FreeRDP_Settings_Keys_Bool id)
Returns a boolean settings value.
◆ common()
rdpClientContext * SdlContext::common |
( |
| ) |
const |
Definition at line 1759 of file SDL2/sdl_freerdp.cpp.
1760{
1761 return reinterpret_cast<rdpClientContext*>(_context);
1762}
◆ context()
rdpContext * SdlContext::context |
( |
| ) |
const |
◆ update_fullscreen()
BOOL SdlContext::update_fullscreen |
( |
BOOL |
enter | ) |
|
Definition at line 1708 of file SDL2/sdl_freerdp.cpp.
1709{
1710 std::lock_guard<CriticalSection> lock(critical);
1711 for (const auto& window : windows)
1712 {
1713 if (!sdl_push_user_event(SDL_USEREVENT_WINDOW_FULLSCREEN, &window.second, enter))
1714 return FALSE;
1715 }
1716 fullscreen = enter;
1717 return TRUE;
1718}
◆ update_minimize()
BOOL SdlContext::update_minimize |
( |
| ) |
|
Definition at line 1720 of file SDL2/sdl_freerdp.cpp.
1721{
1722 std::lock_guard<CriticalSection> lock(critical);
1723 return sdl_push_user_event(SDL_USEREVENT_WINDOW_MINIMIZE);
1724}
◆ update_resizeable()
BOOL SdlContext::update_resizeable |
( |
BOOL |
enable | ) |
|
Definition at line 1726 of file SDL2/sdl_freerdp.cpp.
1727{
1728 std::lock_guard<CriticalSection> lock(critical);
1729
1730 const auto settings = context()->settings;
1733 BOOL use = (dyn && enable) || smart;
1734
1735 for (const auto& window : windows)
1736 {
1737 if (!sdl_push_user_event(SDL_USEREVENT_WINDOW_RESIZEABLE, &window.second, use))
1738 return FALSE;
1739 }
1740 resizeable = use;
1741
1742 return TRUE;
1743}
◆ clip
◆ connection_dialog
◆ critical
◆ disp
◆ exit_code
int SdlContext::exit_code = -1 |
◆ fullscreen
bool SdlContext::fullscreen = false |
◆ grab_kbd
bool SdlContext::grab_kbd = false |
◆ grab_kbd_enabled
bool SdlContext::grab_kbd_enabled = true |
◆ grab_mouse
bool SdlContext::grab_mouse = false |
◆ initialize
◆ initialized
◆ input
◆ log
◆ primary
SDLSurfacePtr SdlContext::primary |
◆ primary_format
SDLPixelFormatPtr SdlContext::primary_format |
◆ rdp_thread_running
std::atomic< bool > SdlContext::rdp_thread_running |
◆ resizeable
bool SdlContext::resizeable = false |
◆ sdl_pixel_format [1/2]
Uint32 SdlContext::sdl_pixel_format = 0 |
◆ sdl_pixel_format [2/2]
SDL_PixelFormat SdlContext::sdl_pixel_format = SDL_PIXELFORMAT_UNKNOWN |
◆ thread
std::thread SdlContext::thread |
◆ update_complete
◆ windows
std::map< Uint32, SdlWindow > SdlContext::windows |
◆ windows_created
The documentation for this class was generated from the following files: