20#ifndef __WLMTK_SURFACE_H__
21#define __WLMTK_SURFACE_H__
23#include <libbase/libbase.h>
25#include <wayland-server-core.h>
37struct wlr_xdg_surface;
53 struct wlr_surface *wlr_surface_ptr,
54 struct wlr_seat *wlr_seat_ptr);
68 struct wlr_xdg_surface *wlr_xdg_surface_ptr,
69 struct wlr_seat *wlr_seat_ptr);
116 struct wl_listener *listener_ptr,
117 wl_notify_func_t handler);
121 struct wl_listener *listener_ptr,
122 wl_notify_func_t handler);
bool wlmtk_surface_is_activated(wlmtk_surface_t *surface_ptr)
Definition surface.c:246
wlmtk_surface_t * wlmtk_xdg_surface_create(struct wlr_xdg_surface *wlr_xdg_surface_ptr, struct wlr_seat *wlr_seat_ptr)
Definition surface.c:172
void wlmtk_surface_destroy(wlmtk_surface_t *surface_ptr)
Definition surface.c:189
void wlmtk_surface_get_size(wlmtk_surface_t *surface_ptr, int *width_ptr, int *height_ptr)
Definition surface.c:202
struct _wlmtk_surface_vmt_t wlmtk_surface_vmt_t
Definition surface.h:30
wlmtk_element_t * wlmtk_surface_element(wlmtk_surface_t *surface_ptr)
Definition surface.c:196
void wlmtk_surface_connect_map_listener_signal(wlmtk_surface_t *surface_ptr, struct wl_listener *listener_ptr, wl_notify_func_t handler)
Definition surface.c:252
const bs_test_case_t wlmtk_surface_test_cases[]
Definition surface.c:824
void wlmtk_surface_connect_unmap_listener_signal(wlmtk_surface_t *surface_ptr, struct wl_listener *listener_ptr, wl_notify_func_t handler)
Definition surface.c:265
wlmtk_surface_t * wlmtk_surface_create(struct wlr_surface *wlr_surface_ptr, struct wlr_seat *wlr_seat_ptr)
Definition surface.c:155
void wlmtk_surface_set_activated(wlmtk_surface_t *surface_ptr, bool activated)
Definition surface.c:212