#[repr(C)]pub struct QarGuiPanelInit {
pub header: QarStructureHeader,
pub common_name: *const c_char,
pub display_name: *const c_char,
pub pose: QarPose,
pub size: QarGuiPanelSize,
pub visible_to_peers: *const QarPeerId,
pub visible_to_peer_count: usize,
}Fields§
§header: QarStructureHeaderChain 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.
common_name: *const c_charRequired 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.
display_name: *const c_charUTF-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.
pose: QarPose§size: QarGuiPanelSize§visible_to_peers: *const QarPeerIdPeers 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().
visible_to_peer_count: usize