Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
wl::monitor_t Class Reference
Collaboration diagram for wl::monitor_t:
[legend]

Public Member Functions

 monitor_t (wl_output *output)
 monitor_t (monitor_t &&)=delete
 monitor_t (const monitor_t &)=delete
monitor_t & operator= (const monitor_t &)=delete
monitor_t & operator= (monitor_t &&)=delete
void listen (zxdg_output_manager_v1 *output_manager)
void xdg_name (zxdg_output_v1 *, const char *name)
void xdg_description (zxdg_output_v1 *, const char *description)
void xdg_position (zxdg_output_v1 *, std::int32_t x, std::int32_t y)
void xdg_size (zxdg_output_v1 *, std::int32_t width, std::int32_t height)
void xdg_done (zxdg_output_v1 *)
void wl_geometry (wl_output *wl_output, std::int32_t x, std::int32_t y, std::int32_t physical_width, std::int32_t physical_height, std::int32_t subpixel, const char *make, const char *model, std::int32_t transform)
void wl_mode (wl_output *wl_output, std::uint32_t flags, std::int32_t width, std::int32_t height, std::int32_t refresh)
void wl_done (wl_output *wl_output)
void wl_scale (wl_output *wl_output, std::int32_t factor)

Public Attributes

wl_output * output
std::string name
std::string description
platf::touch_port_t viewport
int logical_width {0}
int logical_height {0}
wl_output_listener wl_listener
zxdg_output_v1_listener xdg_listener

Detailed Description

Definition at line 178 of file wayland.h.

Constructor & Destructor Documentation

◆ monitor_t()

wl::monitor_t::monitor_t ( wl_output * output)
inlineexplicit

Definition at line 538 of file wayland.cpp.

Member Function Documentation

◆ listen()

void wl::monitor_t::listen ( zxdg_output_manager_v1 * output_manager)

Definition at line 594 of file wayland.cpp.

◆ wl_done()

void wl::monitor_t::wl_done ( wl_output * wl_output)
inline

Definition at line 199 of file wayland.h.

◆ wl_geometry()

void wl::monitor_t::wl_geometry ( wl_output * wl_output,
std::int32_t x,
std::int32_t y,
std::int32_t physical_width,
std::int32_t physical_height,
std::int32_t subpixel,
const char * make,
const char * model,
std::int32_t transform )
inline

Definition at line 195 of file wayland.h.

◆ wl_mode()

void wl::monitor_t::wl_mode ( wl_output * wl_output,
std::uint32_t flags,
std::int32_t width,
std::int32_t height,
std::int32_t refresh )

Definition at line 581 of file wayland.cpp.

◆ wl_scale()

void wl::monitor_t::wl_scale ( wl_output * wl_output,
std::int32_t factor )
inline

Definition at line 201 of file wayland.h.

◆ xdg_description()

void wl::monitor_t::xdg_description ( zxdg_output_v1 * ,
const char * description )

Definition at line 561 of file wayland.cpp.

◆ xdg_done()

void wl::monitor_t::xdg_done ( zxdg_output_v1 * )
inline

Definition at line 193 of file wayland.h.

◆ xdg_name()

void wl::monitor_t::xdg_name ( zxdg_output_v1 * ,
const char * name )
inline

Definition at line 555 of file wayland.cpp.

◆ xdg_position()

void wl::monitor_t::xdg_position ( zxdg_output_v1 * ,
std::int32_t x,
std::int32_t y )

Definition at line 567 of file wayland.cpp.

◆ xdg_size()

void wl::monitor_t::xdg_size ( zxdg_output_v1 * ,
std::int32_t width,
std::int32_t height )

Definition at line 574 of file wayland.cpp.

Member Data Documentation

◆ description

std::string wl::monitor_t::description

Definition at line 205 of file wayland.h.

◆ logical_height

int wl::monitor_t::logical_height {0}

Definition at line 209 of file wayland.h.

◆ logical_width

int wl::monitor_t::logical_width {0}

Definition at line 208 of file wayland.h.

◆ name

std::string wl::monitor_t::name

Definition at line 204 of file wayland.h.

◆ output

wl_output* wl::monitor_t::output

Definition at line 203 of file wayland.h.

◆ viewport

platf::touch_port_t wl::monitor_t::viewport

Definition at line 206 of file wayland.h.

◆ wl_listener

wl_output_listener wl::monitor_t::wl_listener

Definition at line 210 of file wayland.h.

◆ xdg_listener

zxdg_output_v1_listener wl::monitor_t::xdg_listener

Definition at line 211 of file wayland.h.


The documentation for this class was generated from the following files: