Skip to main content
Version: Dev (main)

QarGuiPanelInit Struct

Declaration​

struct QarGuiPanelInit { ... }

Included Headers​

Public Member Attributes Index​

const char *common_name
const char *display_name
QarStructureHeaderheader
QarPosepose
QarGuiPanelSizesize
size_tvisible_to_peer_count
const QarPeerId *visible_to_peers

Definition at line 2494 of file qar_streaming.h.

Public Member Attributes​

common_name​

const char* QarGuiPanelInit::common_name

Required stable identity key used by gui_panels_get_or_create() to derive the panel's id. Must not be NULL or empty, and must be ASCII.

Definition at line 2506 of file qar_streaming.h.

display_name​

const char* QarGuiPanelInit::display_name

UTF-8 label shown above the panel; emoji included. At most 64 Unicode code points, no control or bidirectional formatting characters, otherwise gui_panels_get_or_create() fails with QAR_STATUS_GUI_PANEL_DISPLAY_NAME_INVALID. NULL or empty shows no name.

Definition at line 2511 of file qar_streaming.h.

header​

QarStructureHeader QarGuiPanelInit::header

Chain exactly one supported content extension through header.next: QarGuiPanelUrlExt for browser content or QarGuiPanelStreamIdExt for video stream content. With no content extension, a browser panel is created with the default URL.

Definition at line 2502 of file qar_streaming.h.

pose​

QarPose QarGuiPanelInit::pose

Definition at line 2512 of file qar_streaming.h.

size​

QarGuiPanelSize QarGuiPanelInit::size

Definition at line 2513 of file qar_streaming.h.

visible_to_peer_count​

size_t QarGuiPanelInit::visible_to_peer_count

Definition at line 2519 of file qar_streaming.h.

visible_to_peers​

const QarPeerId* QarGuiPanelInit::visible_to_peers

Peers the new panel is shown to, copied during the call. Empty (count 0, the default) means visible to every peer. A panel meant only for some peers is created with them here rather than narrowed afterwards with qar_gui_panels_update_visible_to().

Definition at line 2518 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.