|
| WidgetVideo (const RendererGva &renderer) |
| Construct a new Widget video object.
|
|
| ~WidgetVideo () final |
| Destroy the Widget video object.
|
|
void | SetReceiveTimeout (uint32_t timeout_ms) |
| Set the Receive timeout attribute for frame data, default 80ms.
|
|
void | Draw () final |
| This will update the video frame if one available.
|
|
void | Start () |
| Start the video stream.
|
|
void | Stop () |
| Stop the video stream.
|
|
void | SetSessionName (std::string_view session_name) |
| Set the Session Name attribute.
|
|
void | SetIpAddress (std::string_view ip_address) |
| Set the Ipaddress attribute.
|
|
| WidgetCanvas (const RendererGva &renderer) |
| Construct a new Widget Keyboard object.
|
|
| ~WidgetCanvas () override=default |
| Destroy the Widget mode object.
|
|
std::string | GetWidgetName () const final |
| Get the Widget Name attribute.
|
|
void | DrawCanvas () |
| Draw the canvas.
|
|
void | SetMode (const SurfaceType mode) |
| Set the Mode object.
|
|
SurfaceType | GetMode () const |
| Get the Mode object.
|
|
void | SetBlackout () |
| Set Blackout mode.
|
|
bool | GetBlackout () const |
| Get the Blackout attribute.
|
|
void | SetFilename (const std::string_view filename) |
| Set the Filename attribute, canvas will show the image. Image will be rescaled to fit current resolution.
|
|
void | SetSurface (cairo_surface_t *surface) |
| Set the canvas to surface.
|
|
void | SetSurfaceDefault () |
| Set the Surface to the default background.
|
|
void | Reset () |
| Set to default background.
|
|
| WidgetX (const RendererGva &renderer, widget::WidgetEnum widget_type) |
| Construct a new Widget X object.
|
|
virtual widget::WidgetEnum | GetWidgetType () const |
| Get the Widget Type attribute.
|
|
void | SetVisible (bool visible) |
| Set the Visible object.
|
|
bool | GetVisible () const |
| Get the Visible object.
|
|
virtual void | SetX (uint32_t x) |
| Set the X dimension.
|
|
uint32_t | GetX () const |
| Get the Y dimension.
|
|
virtual void | SetY (uint32_t y) |
| Set the Y dimension.
|
|
uint32_t | GetY () const |
| Get the Y dimension.
|
|
void | SetWidth (uint32_t width) |
| Set the Width.
|
|
uint32_t | GetWidth () const |
| Get the Width.
|
|
void | SetHeight (uint32_t width) |
| Set the Height.
|
|
uint32_t | GetHeight () const |
| Get the Height.
|
|
widget::WidgetEnum | GetType () const |
| Get the Type object.
|
|
RendererGva * | GetRenderer () const |
| Get the Renderer object.
|
|
void | SetStateText (LabelStates state) |
| Set the State Text of an on screen label.
|
|
void | SetStateLabel (const LabelStates state) |
| Set the State Label object.
|
|
uint32_t | GetStateTextColour (LabelStates state) const |
| Get the State Text Colour object.
|
|
Class defining the video widget.