|
wlmaker
|
#include <element.h>

Public Attributes | |
| bs_dllist_node_t | dlnode |
| wlmtk_element_vmt_t | vmt |
| wlmtk_element_events_t | events |
| wlmtk_container_t * | parent_container_ptr |
| struct wlr_scene_node * | wlr_scene_node_ptr |
| struct wl_listener | wlr_scene_node_destroy_listener |
| wlmtk_pointer_motion_event_t | last_pointer_motion_event |
| int | x |
| int | y |
| bool | visible |
| bool | pointer_inside |
| bool | inhibit_pointer_blur |
State of an element.
| bs_dllist_node_t _wlmtk_element_t::dlnode |
The node of elements.
| wlmtk_element_events_t _wlmtk_element_t::events |
Events available from the element.
| bool _wlmtk_element_t::inhibit_pointer_blur |
Whether to inhibit blurring in wlmtk_element_pointer_blur.
| wlmtk_pointer_motion_event_t _wlmtk_element_t::last_pointer_motion_event |
Details of last wlmtk_element_pointer_motion call.
| wlmtk_container_t* _wlmtk_element_t::parent_container_ptr |
The container this element belongs to, if any.
| bool _wlmtk_element_t::pointer_inside |
Whether the pointer is currently within the element's bounds.
| bool _wlmtk_element_t::visible |
Whether the element is visible (drawn, when part of a scene graph).
| wlmtk_element_vmt_t _wlmtk_element_t::vmt |
Virtual method table for the element.
| struct wl_listener _wlmtk_element_t::wlr_scene_node_destroy_listener |
Listener for the destroy signal of wlr_scene_node_ptr.
| struct wlr_scene_node* _wlmtk_element_t::wlr_scene_node_ptr |
Points to the wlroots scene graph API node, if attached.
| int _wlmtk_element_t::x |
X position of the element in pixels, relative to parent container.
This value may be stale, if wlmtk_element_t::wlr_scene_node_ptr is set and had been updated directly. Therefore, consider the value as "private", and access only through wlmtk_element_get_position.
| int _wlmtk_element_t::y |
Y position of the element, relative to the container.
Same observations apply as for wlmtk_element_t::x.