mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
add config dialog
This commit is contained in:
parent
ff2f243eb1
commit
c8889c7fb7
12 changed files with 230 additions and 59 deletions
23
include/config/dialog.h
Normal file
23
include/config/dialog.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LAB_DIALOG_H
|
||||
#define LAB_DIALOG_H
|
||||
|
||||
struct wlr_scene_node;
|
||||
|
||||
/**
|
||||
* dialog_create_callback - creates the config dialog,
|
||||
* used with wl_event_loop_add_idle.
|
||||
*
|
||||
* @data: Ignored.
|
||||
*/
|
||||
void dialog_create_callback(void *data);
|
||||
|
||||
/**
|
||||
* dialog_destroy - destroys a dialog that is a child of
|
||||
* server.dialog_tree, destroys all children if NULL is provided.
|
||||
*
|
||||
* @dialog: Dialog to be destroyed
|
||||
*/
|
||||
void dialog_destroy(struct wlr_scene_node *dialog);
|
||||
|
||||
#endif /* LAB_DIALOG_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue