|
FreeRDP
|
#include <sdl_overlay.hpp>
Public Member Functions | |
| SdlOverlay (SdlContext *sdl) | |
| SdlOverlay (const SdlOverlay &other)=delete | |
| SdlOverlay (SdlOverlay &&other)=delete | |
| SdlOverlay & | operator= (const SdlOverlay &other)=delete |
| SdlOverlay & | operator= (SdlOverlay &&other)=delete |
| bool | visible () const |
| bool | show (bool on) |
| bool | connected () |
| bool | update (int windowWidth, int windowHeight, const char *rendererName) |
| const std::vector< sdl::overlay::Row > & | left () const |
| const std::vector< sdl::overlay::Row > & | right () const |
| uint64_t | generation () const |
The stats and info overlay: off by default, a hotkey shows and hides it.
The client's runtime statistics are read once a second on the session thread, by a FreeRDP timer that runs only while the overlay shows, and drawn on SDL's thread over the picture, never into it: the session's size and picture do not change. Off, nothing runs.
Definition at line 45 of file sdl_overlay.hpp.
|
explicit |
Definition at line 109 of file sdl_overlay.cpp.
|
nodiscard |
The session thread, when a connection (or a reconnect) is up: rows start again.
Definition at line 127 of file sdl_overlay.cpp.
|
nodiscard |
Definition at line 257 of file sdl_overlay.cpp.
|
nodiscard |
The rows to draw: client info on the left, the real-time part on the right. A new generation means the rows changed.
Definition at line 247 of file sdl_overlay.cpp.
|
nodiscard |
Definition at line 252 of file sdl_overlay.cpp.
|
nodiscard |
SDL's thread: show or hide. Shown before the session connects, it starts with it.
Definition at line 119 of file sdl_overlay.cpp.
|
nodiscard |
SDL's thread, on SDL_EVENT_USER_OVERLAY: take the newest reading, build the rows.
Definition at line 212 of file sdl_overlay.cpp.
References sdl::overlay::realtimeRows().

|
nodiscard |
Definition at line 114 of file sdl_overlay.cpp.