wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
wlmaker_interactive_impl_t Struct Reference

#include <interactive.h>

Public Attributes

void(* enter )(wlmaker_interactive_t *interactive_ptr)
 
void(* leave )(wlmaker_interactive_t *interactive_ptr)
 
void(* motion )(wlmaker_interactive_t *interactive_ptr, double x, double y)
 
void(* focus )(wlmaker_interactive_t *interactive_ptr)
 
void(* button )(wlmaker_interactive_t *interactive_ptr, double x, double y, struct wlr_pointer_button_event *wlr_pointer_button_event_ptr)
 
void(* destroy )(wlmaker_interactive_t *interactive_ptr)
 

Detailed Description

Implementation methods for the interactive.

Member Data Documentation

◆ button

void(* wlmaker_interactive_impl_t::button) (wlmaker_interactive_t *interactive_ptr, double x, double y, struct wlr_pointer_button_event *wlr_pointer_button_event_ptr)

Called on button press in the area, or any button release event.

◆ destroy

void(* wlmaker_interactive_impl_t::destroy) (wlmaker_interactive_t *interactive_ptr)

Destructor.

◆ enter

void(* wlmaker_interactive_impl_t::enter) (wlmaker_interactive_t *interactive_ptr)

Called when the cursor enters the interactive area.

◆ focus

void(* wlmaker_interactive_impl_t::focus) (wlmaker_interactive_t *interactive_ptr)

Called when the focus status changes.

◆ leave

void(* wlmaker_interactive_impl_t::leave) (wlmaker_interactive_t *interactive_ptr)

Called when the cursor leaves the interactive area.

◆ motion

void(* wlmaker_interactive_impl_t::motion) (wlmaker_interactive_t *interactive_ptr, double x, double y)

Called when there is a cursor motion in the area.


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