libdisplaydevice v2026.322.2407
C++ library to modify display devices.
display_device::EnumeratedDevice::Info Struct Reference

Available information for the active display only. More...

#include <src/common/include/display_device/types.h>

Collaboration diagram for display_device::EnumeratedDevice::Info:
[legend]

Public Attributes

std::optional< HdrStatem_hdr_state {}
 
Point m_origin_point {}
 
bool m_primary {}
 
FloatingPoint m_refresh_rate {}
 
Resolution m_resolution {}
 
FloatingPoint m_resolution_scale {}
 

Friends

bool operator== (const Info &lhs, const Info &rhs)
 Comparator for strict equality.
 

Detailed Description

Available information for the active display only.

Member Data Documentation

◆ m_hdr_state

std::optional<HdrState> display_device::EnumeratedDevice::Info::m_hdr_state {}

HDR of an active device.

◆ m_origin_point

Point display_device::EnumeratedDevice::Info::m_origin_point {}

A starting point of the display.

◆ m_primary

bool display_device::EnumeratedDevice::Info::m_primary {}

Indicates whether the device is a primary display.

◆ m_refresh_rate

FloatingPoint display_device::EnumeratedDevice::Info::m_refresh_rate {}

Refresh rate of an active device.

◆ m_resolution

Resolution display_device::EnumeratedDevice::Info::m_resolution {}

Resolution of an active device.

◆ m_resolution_scale

FloatingPoint display_device::EnumeratedDevice::Info::m_resolution_scale {}

Resolution scaling of an active device.


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