|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| const monitor_t * | find_monitor (const std::string &connector) const |
| const logical_monitor_t * | find_logical_monitor (const std::string &connector) const |
| bool | logical_size (const logical_monitor_t &lm, int &width, int &height) const |
Static Public Member Functions | |
| static double | scale_of (const logical_monitor_t &lm) |
Public Attributes | |
| std::string | serial |
| std::map< std::string, std::string > | current_mode |
| connector -> mode id | |
| std::vector< monitor_t > | monitors |
| std::vector< logical_monitor_t > | logical_monitors |
| layout_mode_e | layout_mode {layout_mode_e::logical} |
| bool | global_scale_required {false} |
Definition at line 4100 of file virtual_display.cpp.
|
inline |
Definition at line 4119 of file virtual_display.cpp.
|
inline |
Definition at line 4110 of file virtual_display.cpp.
|
inline |
Size of a logical monitor in layout coordinates - the space the desktop, and therefore the pointer, is measured in.
Mutter derives it from the current mode of the monitors assigned to it: a rotated transform swaps the axes, and in the logical layout mode the result is divided by the logical monitor's scale. Taking the mode size instead is only correct at scale 1 with no rotation.
Definition at line 4142 of file virtual_display.cpp.
|
inlinestatic |
Definition at line 4128 of file virtual_display.cpp.
| std::map<std::string, std::string> VDISPLAY::mutter::state_t::current_mode |
connector -> mode id
Definition at line 4102 of file virtual_display.cpp.
| bool VDISPLAY::mutter::state_t::global_scale_required {false} |
Definition at line 4108 of file virtual_display.cpp.
| layout_mode_e VDISPLAY::mutter::state_t::layout_mode {layout_mode_e::logical} |
Definition at line 4107 of file virtual_display.cpp.
| std::vector<logical_monitor_t> VDISPLAY::mutter::state_t::logical_monitors |
Definition at line 4104 of file virtual_display.cpp.
| std::vector<monitor_t> VDISPLAY::mutter::state_t::monitors |
Definition at line 4103 of file virtual_display.cpp.
| std::string VDISPLAY::mutter::state_t::serial |
Definition at line 4101 of file virtual_display.cpp.