wlmaker
Loading...
Searching...
No Matches
cursor.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __CURSOR_H__
21#define __CURSOR_H__
22
25
26#include "server.h"
27#include "view.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif // __cplusplus
32
37
39 struct wlr_cursor *wlr_cursor_ptr;
41 struct wlr_xcursor_manager *wlr_xcursor_manager_ptr;
42
44 struct wl_listener motion_listener;
46 struct wl_listener motion_absolute_listener;
48 struct wl_listener button_listener;
50 struct wl_listener axis_listener;
52 struct wl_listener frame_listener;
53
56
59
61 struct wl_signal button_release_event;
62};
63
72
79
87 wlmaker_cursor_t *cursor_ptr,
88 struct wlr_input_device *wlr_input_device_ptr);
89
98 const wlmaker_cursor_t *cursor_ptr,
99 double *x_ptr,
100 double *y_ptr);
101
102#ifdef __cplusplus
103} // extern "C"
104#endif // __cplusplus
105
106#endif /* __CURSOR_H__ */
107/* == End of cursor.h ====================================================== */
void wlmaker_cursor_get_position(const wlmaker_cursor_t *cursor_ptr, double *x_ptr, double *y_ptr)
Definition cursor.c:166
wlmaker_cursor_t * wlmaker_cursor_create(wlmaker_server_t *server_ptr)
Definition cursor.c:63
void wlmaker_cursor_destroy(wlmaker_cursor_t *cursor_ptr)
Definition cursor.c:140
void wlmaker_cursor_attach_input_device(wlmaker_cursor_t *cursor_ptr, struct wlr_input_device *wlr_input_device_ptr)
Definition cursor.c:156
Definition cursor.h:34
struct wl_listener motion_absolute_listener
Definition cursor.h:46
struct wl_listener button_listener
Definition cursor.h:48
struct wl_listener axis_listener
Definition cursor.h:50
wlmaker_view_t * under_cursor_view_ptr
Definition cursor.h:58
struct wl_listener frame_listener
Definition cursor.h:52
struct wlr_cursor * wlr_cursor_ptr
Definition cursor.h:39
wlmaker_server_t * server_ptr
Definition cursor.h:36
struct wl_listener seat_request_set_cursor_listener
Definition cursor.h:55
struct wl_listener motion_listener
Definition cursor.h:44
struct wl_signal button_release_event
Definition cursor.h:61
struct wlr_xcursor_manager * wlr_xcursor_manager_ptr
Definition cursor.h:41
Definition server.h:60
Definition view.h:161