libdisplaydevice master
C++ library to modify display devices.
display_device::MacSingleDisplayConfigState::Modified Struct Reference

System state modified by this library. More...

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

Public Member Functions

bool hasModifications () const
 Check if the changed topology has any other modifications.
 

Public Attributes

MacHdrStateMap m_original_hdr_states {}
 Original HDR states before modification.
 
MacDeviceDisplayModeMap m_original_modes {}
 Original display modes before modification.
 
std::string m_original_primary_device {}
 Original primary device before modification.
 
MacActiveTopology m_topology {}
 Modified active topology.
 

Friends

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

Detailed Description

System state modified by this library.

Member Function Documentation

◆ hasModifications()

bool display_device::MacSingleDisplayConfigState::Modified::hasModifications ( ) const
nodiscard

Check if the changed topology has any other modifications.

Returns
True if DisplayMode, HDR or primary device has been changed, false otherwise.

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