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;
100 auto id()
const -> int;
102 auto valid()
const -> bool;
104 auto is_same_output(
Output const& other)
const -> bool;
107 std::shared_ptr<mir::graphics::DisplayConfigurationOutput>
self;
112 {
return !(lhs == rhs); }
117 #endif //MIRAL_OUTPUT_H Definition: splash_session.h:24
auto equivalent_display_area(Output const &lhs, Output const &rhs) -> bool
constexpr bool operator==(IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
Definition: int_wrapper.h:47
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
Mir Abstraction Layer.
Definition: floating_window_manager.h:29
constexpr bool operator!=(IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
Definition: int_wrapper.h:53