RGFW
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
Loading...
Searching...
No Matches
Public Attributes | List of all members
RGFW_monitor Struct Reference

#include <RGFW.h>

Public Attributes

i32 x
 
i32 y
 
char name [128]
 
float scaleX
 
float scaleY
 
float pixelRatio
 
float physW
 
float physH
 
RGFW_monitorMode mode
 

Detailed Description

structure for monitor data

Member Data Documentation

◆ mode

RGFW_monitorMode RGFW_monitor::mode

◆ name

char RGFW_monitor::name[128]

monitor name

◆ physH

float RGFW_monitor::physH

monitor physical size in inches

◆ physW

float RGFW_monitor::physW

◆ pixelRatio

float RGFW_monitor::pixelRatio

pixel ratio for monitor (1.0 for regular, 2.0 for hiDPI)

◆ scaleX

float RGFW_monitor::scaleX

◆ scaleY

float RGFW_monitor::scaleY

monitor content scale

◆ x

i32 RGFW_monitor::x

◆ y

i32 RGFW_monitor::y

x - y of the monitor workarea


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