Wrapper for ALLEGRO_MONITOR_INFO.
More...
#include <MonitorInfoPlus.h>
Public Attributes |
int | x1 |
| Left x of the monitor.
|
int | y1 |
| Top y of the monitor.
|
int | x2 |
| Right x of the monitor.
|
int | y2 |
| Bottom y of the monitor.
|
int | width |
| The width of the monitor.
|
int | height |
| The height of the monitor.
|
Detailed Description
Wrapper for ALLEGRO_MONITOR_INFO.
Constructor & Destructor Documentation
Allegro::MonitorInfoPlus::MonitorInfoPlus |
( |
int |
adapter | ) |
|
Member Function Documentation
std::vector< MonitorInfoPlus > Allegro::MonitorInfoPlus::GetAllMonitorInfo |
( |
void |
| ) |
|
|
static |
Gets all monitor information.
- Returns
- all monitor information.
int Allegro::MonitorInfoPlus::GetNewDisplayAdapter |
( |
void |
| ) |
|
|
static |
Gets the new display adapter.
- Returns
- The new display adapter.
int Allegro::MonitorInfoPlus::GetNumberOfVideoAdapters |
( |
void |
| ) |
|
|
static |
Gets the number of video adapters.
- Returns
- The number of video adapters.
void Allegro::MonitorInfoPlus::ResetNewDisplayAdapter |
( |
void |
| ) |
|
|
static |
Resets the new display adapter, Same as SetNewDisplayAdapter(ALLEGRO_DEFAULT_DISPLAY_ADAPTER).
void Allegro::MonitorInfoPlus::SetNewDisplayAdapter |
( |
int |
adapter | ) |
|
|
static |
Sets a new display adapter.
- Parameters
-
Member Data Documentation
int Allegro::MonitorInfoPlus::height |
The height of the monitor.
int Allegro::MonitorInfoPlus::width |
The width of the monitor.
int Allegro::MonitorInfoPlus::x1 |
int Allegro::MonitorInfoPlus::x2 |
int Allegro::MonitorInfoPlus::y1 |
int Allegro::MonitorInfoPlus::y2 |