Some basic information about the system (screen, monitors, clipboard, ...)
More...
#include <System.hpp>
Some basic information about the system (screen, monitors, clipboard, ...)
◆ getClipboardText()
| std::string raylib::window::System::getClipboardText |
( |
| ) |
|
|
static |
Get clipboard text content.
- Returns
- the clipboard text
◆ getCurrentMonitor()
| int raylib::window::System::getCurrentMonitor |
( |
| ) |
|
|
static |
Get current connected monitor (index)
- Returns
- the current connected monitor (index)
◆ getMonitorCount()
| int raylib::window::System::getMonitorCount |
( |
| ) |
|
|
static |
Get number of connected monitors.
- Returns
- the number of connected monitors
◆ getMonitorHeight()
| int raylib::window::System::getMonitorHeight |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor height (max available by monitor)
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor height
◆ getMonitorName()
| std::string raylib::window::System::getMonitorName |
( |
int |
monitorIndex | ) |
|
|
static |
Get the human-readable, UTF-8 encoded name of the primary monitor.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor name
◆ getMonitorPhysicalHeight()
| int raylib::window::System::getMonitorPhysicalHeight |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor physical height in millimetres.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor physical height
◆ getMonitorPhysicalSize()
| Vector2i raylib::window::System::getMonitorPhysicalSize |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor physical size.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor physical size
◆ getMonitorPhysicalWidth()
| int raylib::window::System::getMonitorPhysicalWidth |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor physical width in millimetres.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor physical width
◆ getMonitorPosition()
| Vector2f raylib::window::System::getMonitorPosition |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor position.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor position
◆ getMonitorRefreshRate()
| int raylib::window::System::getMonitorRefreshRate |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor refresh rate.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor refresh rate
◆ getMonitorSize()
| Vector2i raylib::window::System::getMonitorSize |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor size.
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor size
◆ getMonitorWidth()
| int raylib::window::System::getMonitorWidth |
( |
int |
monitorIndex | ) |
|
|
static |
Get specified monitor width (max available by monitor)
- Parameters
-
| monitorIndex | the monitor index |
- Returns
- the monitor width
◆ getScreenHeight()
| int raylib::window::System::getScreenHeight |
( |
| ) |
|
|
static |
Get current screen height.
- Returns
- the screen height
◆ getScreenSize()
| Vector2i raylib::window::System::getScreenSize |
( |
| ) |
|
|
static |
Get the screen size.
- Returns
- the screen size
◆ getScreenWidth()
| int raylib::window::System::getScreenWidth |
( |
| ) |
|
|
static |
Get current screen width.
- Returns
- the screen width
◆ getWindowPosition()
| Vector2f raylib::window::System::getWindowPosition |
( |
| ) |
|
|
static |
Get window position XY on monitor.
- Returns
- the window position XY
◆ getWindowScaleDPI()
| Vector2f raylib::window::System::getWindowScaleDPI |
( |
| ) |
|
|
static |
Get window scale DPI factor.
- Returns
- the window scale DPI factor
◆ setClipboardText()
| void raylib::window::System::setClipboardText |
( |
const std::string & |
text | ) |
|
|
static |
Set clipboard text content.
- Parameters
-
The documentation for this class was generated from the following files: