20#ifndef __WLMTK_SURFACE_H__
21#define __WLMTK_SURFACE_H__
23#include <libbase/libbase.h>
39struct wlr_scene_surface;
84 struct wlr_surface *wlr_surface_ptr,
129 struct wl_listener *listener_ptr,
130 wl_notify_func_t handler);
134 struct wl_listener *listener_ptr,
135 wl_notify_func_t handler);
wlmtk_surface_t surface
Definition surface.h:143
struct wlr_scene_tree * wlr_scene_tree_ptr
Definition surface.h:58
int committed_height
Definition surface.h:65
bool activated
Definition surface.h:71
struct wlr_surface * wlr_surface_ptr
Definition surface.h:55
wlmtk_env_t * env_ptr
Definition surface.h:52
wlmtk_element_vmt_t orig_super_element_vmt
Definition surface.h:50
int committed_width
Definition surface.h:63
struct wl_listener wlr_scene_tree_node_destroy_listener
Definition surface.h:60
struct wl_listener surface_commit_listener
Definition surface.h:68
wlmtk_element_t super_element
Definition surface.h:48
void wlmtk_surface_destroy(wlmtk_surface_t *surface_ptr)
Definition surface.c:115
void wlmtk_surface_get_size(wlmtk_surface_t *surface_ptr, int *width_ptr, int *height_ptr)
Definition surface.c:128
void wlmtk_fake_surface_destroy(wlmtk_fake_surface_t *fake_surface_ptr)
Definition surface.c:631
struct _wlmtk_surface_vmt_t wlmtk_surface_vmt_t
Definition surface.h:28
void wlmtk_fake_surface_commit_size(wlmtk_fake_surface_t *fake_surface_ptr, int width, int height)
Definition surface.c:622
wlmtk_surface_t * wlmtk_surface_create(struct wlr_surface *wlr_surface_ptr, wlmtk_env_t *env_ptr)
Definition surface.c:99
wlmtk_element_t * wlmtk_surface_element(wlmtk_surface_t *surface_ptr)
Definition surface.c:122
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:166
const bs_test_case_t wlmtk_surface_test_cases[]
Definition surface.c:703
wlmtk_fake_surface_t * wlmtk_fake_surface_create(void)
Definition surface.c:608
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:178
void wlmtk_surface_set_activated(wlmtk_surface_t *surface_ptr, bool activated)
Definition surface.c:138