This category contains functions for handling multiple monitors.
More...
|
typedef struct fplDisplayInfo | fplDisplayInfo |
| A struct containing informations about a display.
|
|
typedef struct fplDisplayMode | fplDisplayMode |
| A structure containing one set of display mode settings, such as size, refresh rate, etc.
|
|
This category contains functions for handling multiple monitors.
◆ fplGetDisplayCount()
Gets the number of active displays.
- Returns
- Returns the number of active displays
◆ fplGetDisplayFromPosition()
Finds the display from a cursor position and retrieves the information for it.
- Parameters
-
x | The x position in screen coordinates |
y | The y position in screen coordinates |
outInfo | A pointer to a fplDisplayInfo structure |
- Returns
- Returns true when the display was found, false otherwise.
◆ fplGetDisplayModes()
Gets the information about the available display modes for the given display id.
- Parameters
-
id | The display id |
outModes | The array of fplDisplayMode |
maxDisplayModeCount | The maximum number of display modes available in the output array |
- Returns
- Returns the number of found display modes
◆ fplGetDisplays()
Gets informations about all active displays.
- Parameters
-
outDisplays | The array of fplDisplayInfo |
maxDisplayCount | The maximum number of display infos available in the output array |
- Returns
- Returns the total number of active displays
◆ fplGetPrimaryDisplay()
Gets information about the primary display.
- Parameters
-
- Returns
- Returns true when the primary display was found, false otherwise.
◆ fplGetWindowDisplay()
Gets information about the display for the FPL window.
- Parameters
-
- Returns
- Returns true when the display for the window was found, false otherwise.