19 #ifndef MIRAL_OUTPUT_H 20 #define MIRAL_OUTPUT_H 29 namespace mir {
namespace graphics {
struct DisplayConfigurationOutput; } }
60 explicit Output(
const mir::graphics::DisplayConfigurationOutput &output);
66 auto type()
const ->
Type;
72 auto connected()
const -> bool;
75 auto used()
const -> bool;
81 auto refresh_rate()
const -> double;
89 auto scale()
const -> float;
98 auto valid()
const -> bool;
100 auto is_same_output(
Output const& other)
const -> bool;
103 std::shared_ptr<mir::graphics::DisplayConfigurationOutput>
self;
108 {
return !(lhs == rhs); }
113 #endif //MIRAL_OUTPUT_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: blob.h:26
auto equivalent_display_area(Output const &lhs, Output const &rhs) -> bool
int width
Definition: output.h:39
Type
Definition: output.h:41
MirPixelFormat pixel_format
Definition: client_types.h:180
int height
Definition: client_types.h:179
Definition: rectangle.h:33
Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support...
Definition: dimensions.h:30
bool operator==(PlatformOperationMessage const &msg1, PlatformOperationMessage const &msg2)
Definition: mock_platform_authentication.h:30
bool operator!=(PlatformOperationMessage const &msg1, PlatformOperationMessage const &msg2)
Definition: mock_platform_authentication.h:36
Mir Abstraction Layer.
Definition: add_init_callback.h:26