wlmaker
Loading...
Searching...
No Matches
_wlclient_icon_t Struct Reference
Collaboration diagram for _wlclient_icon_t:

Public Attributes

wlclient_twlclient_ptr
struct wl_surface * wl_surface_ptr
struct zwlmaker_toplevel_icon_v1 * toplevel_icon_ptr
unsigned width
unsigned height
wlcl_dblbuf_ready_callback_t ready_callback
void * ready_callback_ud_ptr
wlcl_dblbuf_tdblbuf_ptr
void(* position_callback )(double x, double y, void *ud_ptr)
void * position_callback_ud_ptr
bool position_received
int32_t last_position_x
int32_t last_position_y
struct ext_input_position_observer_v1 * input_position_observer_ptr

Detailed Description

State of the icon.

Member Data Documentation

◆ dblbuf_ptr

wlcl_dblbuf_t* _wlclient_icon_t::dblbuf_ptr

Double-buffered state of the surface.

◆ height

unsigned _wlclient_icon_t::height

Height of the icon, once suggested by the server.

◆ input_position_observer_ptr

struct ext_input_position_observer_v1* _wlclient_icon_t::input_position_observer_ptr

Input observer.

◆ last_position_x

int32_t _wlclient_icon_t::last_position_x

Last known reported input X position.

◆ last_position_y

int32_t _wlclient_icon_t::last_position_y

Last known reported input Y position.

◆ position_callback

void(* _wlclient_icon_t::position_callback) (double x, double y, void *ud_ptr)

Callback for input position observation.

◆ position_callback_ud_ptr

void* _wlclient_icon_t::position_callback_ud_ptr

Client-provided argument to wlclient_xdg_toplevel_t::position_callback.

◆ position_received

bool _wlclient_icon_t::position_received

Whether any position update had been received already.

◆ ready_callback

wlcl_dblbuf_ready_callback_t _wlclient_icon_t::ready_callback

Callback for when the icon's buffer is ready to be drawn into.

◆ ready_callback_ud_ptr

void* _wlclient_icon_t::ready_callback_ud_ptr

Argument to that callback.

◆ toplevel_icon_ptr

struct zwlmaker_toplevel_icon_v1* _wlclient_icon_t::toplevel_icon_ptr

The icon interface.

◆ width

unsigned _wlclient_icon_t::width

Width of the icon, once suggested by the server.

◆ wl_surface_ptr

struct wl_surface* _wlclient_icon_t::wl_surface_ptr

Surface.

◆ wlclient_ptr

wlclient_t* _wlclient_icon_t::wlclient_ptr

Back-link to the client.


The documentation for this struct was generated from the following file: