game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
MonitorInfo Struct Reference

Display/monitor information. More...

#include <system_info_service.h>

Public Member Functions

bool is1440p () const
bool is4K () const
bool isHighRefresh () const

Public Attributes

std::string connector
int heightPixels = 0
bool isPrimary = false
std::string name
double refreshRate = 0.0
bool supportsHDR = false
bool supportsVRR = false
int widthPixels = 0

Detailed Description

Display/monitor information.

Definition at line 232 of file system_info_service.h.

Member Function Documentation

◆ is1440p()

bool MonitorInfo::is1440p ( ) const
inline

Definition at line 248 of file system_info_service.h.

References heightPixels, and widthPixels.

◆ is4K()

bool MonitorInfo::is4K ( ) const
inline

Definition at line 244 of file system_info_service.h.

References heightPixels, and widthPixels.

◆ isHighRefresh()

bool MonitorInfo::isHighRefresh ( ) const
inline

Definition at line 252 of file system_info_service.h.

References refreshRate.

Member Data Documentation

◆ connector

std::string MonitorInfo::connector

Definition at line 241 of file system_info_service.h.

◆ heightPixels

int MonitorInfo::heightPixels = 0

Definition at line 236 of file system_info_service.h.

Referenced by is1440p(), and is4K().

◆ isPrimary

bool MonitorInfo::isPrimary = false

Definition at line 238 of file system_info_service.h.

◆ name

std::string MonitorInfo::name

Definition at line 234 of file system_info_service.h.

◆ refreshRate

double MonitorInfo::refreshRate = 0.0

Definition at line 237 of file system_info_service.h.

Referenced by isHighRefresh().

◆ supportsHDR

bool MonitorInfo::supportsHDR = false

Definition at line 240 of file system_info_service.h.

◆ supportsVRR

bool MonitorInfo::supportsVRR = false

Definition at line 239 of file system_info_service.h.

◆ widthPixels

int MonitorInfo::widthPixels = 0

Definition at line 235 of file system_info_service.h.

Referenced by is1440p(), and is4K().


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