wlmaker
Loading...
Searching...
No Matches
include
toolkit
popup.h
Go to the documentation of this file.
1
/* ========================================================================= */
20
#ifndef __WLMTK_POPUP_H__
21
#define __WLMTK_POPUP_H__
22
23
#include <stdbool.h>
24
25
struct
_wlmtk_popup_t
;
27
typedef
struct
_wlmtk_popup_t
wlmtk_popup_t
;
28
29
#include "
container.h
"
// IWYU pragma: keep
30
#include "
element.h
"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
// __cplusplus
35
43
struct
_wlmtk_popup_t
{
45
wlmtk_container_t
super_container
;
46
48
wlmtk_container_t
popup_container
;
49
51
wlmtk_element_t
*
element_ptr
;
52
};
53
62
bool
wlmtk_popup_init
(
63
wlmtk_popup_t
*popup_ptr,
64
wlmtk_element_t
*element_ptr);
65
71
void
wlmtk_popup_fini
(
wlmtk_popup_t
*popup_ptr);
72
74
wlmtk_element_t
*
wlmtk_popup_element
(
wlmtk_popup_t
*popup_ptr);
75
82
void
wlmtk_popup_add_popup
(
wlmtk_popup_t
*popup_ptr,
83
wlmtk_popup_t
*further_popup_ptr);
84
85
#ifdef __cplusplus
86
}
// extern "C"
87
#endif
// __cplusplus
88
89
#endif
/* __WLMTK_POPUP_H__ */
90
/* == End of popup.h ======================================================= */
container.h
element.h
wlmtk_popup_add_popup
void wlmtk_popup_add_popup(wlmtk_popup_t *popup_ptr, wlmtk_popup_t *further_popup_ptr)
Definition
popup.c:86
wlmtk_popup_element
wlmtk_element_t * wlmtk_popup_element(wlmtk_popup_t *popup_ptr)
Definition
popup.c:96
wlmtk_popup_fini
void wlmtk_popup_fini(wlmtk_popup_t *popup_ptr)
Definition
popup.c:60
wlmtk_popup_init
bool wlmtk_popup_init(wlmtk_popup_t *popup_ptr, wlmtk_element_t *element_ptr)
Definition
popup.c:31
_wlmtk_container_t
Definition
container.h:60
_wlmtk_element_t
Definition
element.h:175
_wlmtk_popup_t
Definition
popup.h:43
_wlmtk_popup_t::popup_container
wlmtk_container_t popup_container
Definition
popup.h:48
_wlmtk_popup_t::element_ptr
wlmtk_element_t * element_ptr
Definition
popup.h:51
_wlmtk_popup_t::super_container
wlmtk_container_t super_container
Definition
popup.h:45
Generated by
1.9.8