mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
wlr_scene: Add drag icon helper
This commit is contained in:
parent
9f793d3503
commit
c8a5dfcc87
3 changed files with 102 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ struct wlr_output;
|
|||
struct wlr_output_layout;
|
||||
struct wlr_xdg_surface;
|
||||
struct wlr_layer_surface_v1;
|
||||
struct wlr_drag_icon;
|
||||
|
||||
struct wlr_scene_node;
|
||||
struct wlr_scene_buffer;
|
||||
|
|
@ -472,4 +473,11 @@ void wlr_scene_layer_surface_v1_configure(
|
|||
struct wlr_scene_layer_surface_v1 *scene_layer_surface,
|
||||
const struct wlr_box *full_area, struct wlr_box *usable_area);
|
||||
|
||||
/**
|
||||
* Add a node displaying a drag icon and all its sub-surfaces to the
|
||||
* scene-graph.
|
||||
*/
|
||||
struct wlr_scene_tree *wlr_scene_drag_icon_create(
|
||||
struct wlr_scene_tree *parent, struct wlr_drag_icon *drag_icon);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue