wlmaker
Loading...
Searching...
No Matches
wlmtk_fake_element_t Struct Reference

#include <element.h>

Collaboration diagram for wlmtk_fake_element_t:

Public Attributes

wlmtk_element_t element
wlmtk_element_vmt_t orig_vmt
struct wlr_box dimensions
bool pointer_accepts_motion_called
bool pointer_button_called
wlmtk_button_event_t pointer_button_event
bool pointer_axis_called
bool pointer_grab_cancel_called
bool has_keyboard_focus
bool keyboard_event_called
bool keyboard_sym_called
struct wlr_pointer_axis_event wlr_pointer_axis_event

Detailed Description

Fake element, useful for unit test.

Member Data Documentation

◆ dimensions

struct wlr_box wlmtk_fake_element_t::dimensions

Dimensions of the fake element, in pixels.

◆ element

wlmtk_element_t wlmtk_fake_element_t::element

State of the element.

◆ has_keyboard_focus

bool wlmtk_fake_element_t::has_keyboard_focus

Whether the fake element has keyboare focus.

◆ keyboard_event_called

bool wlmtk_fake_element_t::keyboard_event_called

Indicates that wlmtk_element_vmt_t::keyboard_event() was called.

◆ keyboard_sym_called

bool wlmtk_fake_element_t::keyboard_sym_called

Indicates that wlmtk_element_vmt_t::keyboard_sym() was called.

◆ orig_vmt

wlmtk_element_vmt_t wlmtk_fake_element_t::orig_vmt

Original VMT.

◆ pointer_accepts_motion_called

bool wlmtk_fake_element_t::pointer_accepts_motion_called

◆ pointer_axis_called

bool wlmtk_fake_element_t::pointer_axis_called

Indicates wlmtk_element_vmt_t::pointer_axis() was called.

◆ pointer_button_called

bool wlmtk_fake_element_t::pointer_button_called

◆ pointer_button_event

wlmtk_button_event_t wlmtk_fake_element_t::pointer_button_event

Last button event received.

◆ pointer_grab_cancel_called

bool wlmtk_fake_element_t::pointer_grab_cancel_called

◆ wlr_pointer_axis_event

struct wlr_pointer_axis_event wlmtk_fake_element_t::wlr_pointer_axis_event

Last axis event received.


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