Struct Monitor
Defined in File monitor.h
Inheritance Relationships
Base Type
public CE::Platform::Dimensions< int >(Template Struct Dimensions)
Struct Documentation
-
struct Monitor : public CE::Platform::Dimensions<int>
Value snapshot of monitor video-mode dimensions with a display-defined ID.
Copying it does not refresh dimensions or retain a native monitor handle. Native lookup remains subject to the originating display’s inventory lifetime.
Public Functions
-
Monitor(std::uint64_t id, int width, int height)
Copy a display-defined identity and video-mode dimensions.
See also
- Parameters:
id – Identity understood by the originating display inventory, not an OS handle.
width – Snapshot video-mode width.
height – Snapshot video-mode height. No native monitor ownership or future refresh is acquired.
-
Monitor(const Monitor&) = default
Copy identity and dimensions without retaining the display or refreshing native state.
See also
-
inline std::uint64_t id() const
Declaration:
[[nodiscard]]Read the copied inventory identity.
See also
- Returns:
Display-defined value; meaningful for lookup only within its original inventory lifetime.
-
Monitor(std::uint64_t id, int width, int height)