Changeset View
Changeset View
Standalone View
Standalone View
abstract_wayland_output.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 58 | public: | |||
---|---|---|---|---|---|
68 | }; | 68 | }; | ||
69 | 69 | | |||
70 | explicit AbstractWaylandOutput(QObject *parent = nullptr); | 70 | explicit AbstractWaylandOutput(QObject *parent = nullptr); | ||
71 | ~AbstractWaylandOutput() override; | 71 | ~AbstractWaylandOutput() override; | ||
72 | 72 | | |||
73 | QString name() const override; | 73 | QString name() const override; | ||
74 | QByteArray uuid() const override; | 74 | QByteArray uuid() const override; | ||
75 | 75 | | |||
76 | QSize modeSize() const; | ||||
77 | | ||||
78 | // TODO: The name is ambiguous. Rename this function. | ||||
76 | QSize pixelSize() const; | 79 | QSize pixelSize() const; | ||
80 | | ||||
77 | qreal scale() const override; | 81 | qreal scale() const override; | ||
78 | 82 | | |||
79 | /** | 83 | /** | ||
80 | * The geometry of this output in global compositor co-ordinates (i.e scaled) | 84 | * The geometry of this output in global compositor co-ordinates (i.e scaled) | ||
81 | */ | 85 | */ | ||
82 | QRect geometry() const override; | 86 | QRect geometry() const override; | ||
83 | QSize physicalSize() const override; | 87 | QSize physicalSize() const override; | ||
84 | 88 | | |||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |