Public Member Functions | |
int | depth () const |
float | dpi_x () const |
float | dpi_y () const |
float | dpi () const |
Static Public Member Functions | |
int | list (const Monitor **) |
const Monitor & | all () |
const Monitor & | find (int x, int y) |
Public Attributes | |
Rectangle | work |
|
Return a "monitor" that surrounds all the monitors. If you have a single monitor, this returns a monitor structure that defines it. If you have multiple monitors this returns a fake monitor that surrounds all of them. |
|
Return a pointer to a Monitor structure describing the monitor that contains or is closest to the given x,y, position. |
|
Return an array of all Monitors. p is set to point to a static array of Monitor structures describing all monitors connected to the system. If there is a "primary" monitor, it will be first in the list. Subsequent calls will usually return the same array, but if a signal comes in indicating a change it will probably delete the old array and return a new one. |
|
The rectangle of the monitor not covered by tool or menu bars. This is not a method because it looks clearer to write "monitor.work.x()" than "monitor.work().x()". |