wlmaker
Toggle main menu visibility
Loading...
Searching...
No Matches
include
toolkit
resizebar.h
Go to the documentation of this file.
1
/* ========================================================================= */
21
#ifndef __WLMTK_RESIZEBAR_H__
22
#define __WLMTK_RESIZEBAR_H__
23
25
typedef
struct
_wlmtk_resizebar_t
wlmtk_resizebar_t
;
26
27
#include <libbase/libbase.h>
28
#include <libbase/plist.h>
29
#include <stdbool.h>
30
#include <stdint.h>
31
32
#include "
element.h
"
33
#include "
style.h
"
34
36
struct
wlmtk_resizebar_style
{
38
wlmtk_style_fill_t
fill
;
40
uint64_t
height
;
42
uint64_t
corner_width
;
44
uint64_t
bezel_width
;
45
};
46
47
#include "
window.h
"
// IWYU pragma: keep
48
49
#ifdef __cplusplus
50
extern
"C"
{
51
#endif
// __cplusplus
52
62
wlmtk_resizebar_t
*
wlmtk_resizebar_create
(
63
wlmtk_window_t
*window_ptr,
64
const
struct
wlmtk_resizebar_style
*style_ptr);
65
71
void
wlmtk_resizebar_destroy
(
wlmtk_resizebar_t
*resizebar_ptr);
72
81
bool
wlmtk_resizebar_set_width
(
82
wlmtk_resizebar_t
*resizebar_ptr,
83
unsigned
width);
84
94
bool
wlmtk_resizebar_set_style
(
95
wlmtk_resizebar_t
*resizebar_ptr,
96
const
struct
wlmtk_resizebar_style
*style_ptr);
97
105
wlmtk_element_t
*
wlmtk_resizebar_element
(
wlmtk_resizebar_t
*resizebar_ptr);
106
107
extern
const
bspl_desc_t
wlmtk_resizebar_style_desc
[];
108
110
extern
const
bs_test_set_t
wlmtk_resizebar_test_set
;
111
112
#ifdef __cplusplus
113
}
// extern "C"
114
#endif
// __cplusplus
115
116
#endif
/* __WLMTK_RESIZEBAR_H__ */
117
/* == End of resizebar.h ================================================== */
element.h
wlmtk_element_t
struct _wlmtk_element_t wlmtk_element_t
Definition
element.h:37
wlmtk_resizebar_set_width
bool wlmtk_resizebar_set_width(wlmtk_resizebar_t *resizebar_ptr, unsigned width)
Definition
resizebar.c:186
wlmtk_resizebar_destroy
void wlmtk_resizebar_destroy(wlmtk_resizebar_t *resizebar_ptr)
Definition
resizebar.c:151
wlmtk_resizebar_set_style
bool wlmtk_resizebar_set_style(wlmtk_resizebar_t *resizebar_ptr, const struct wlmtk_resizebar_style *style_ptr)
Definition
resizebar.c:196
wlmtk_resizebar_test_set
const bs_test_set_t wlmtk_resizebar_test_set
Definition
resizebar.c:315
wlmtk_resizebar_style_desc
const bspl_desc_t wlmtk_resizebar_style_desc[]
Definition
resizebar.c:79
wlmtk_resizebar_t
struct _wlmtk_resizebar_t wlmtk_resizebar_t
Definition
resizebar.h:25
wlmtk_resizebar_create
wlmtk_resizebar_t * wlmtk_resizebar_create(wlmtk_window_t *window_ptr, const struct wlmtk_resizebar_style *style_ptr)
Definition
resizebar.c:97
wlmtk_resizebar_element
wlmtk_element_t * wlmtk_resizebar_element(wlmtk_resizebar_t *resizebar_ptr)
Definition
resizebar.c:207
_wlmtk_resizebar_t
Definition
resizebar.c:41
wlmtk_resizebar_style
Definition
resizebar.h:36
wlmtk_resizebar_style::height
uint64_t height
Definition
resizebar.h:40
wlmtk_resizebar_style::corner_width
uint64_t corner_width
Definition
resizebar.h:42
wlmtk_resizebar_style::fill
wlmtk_style_fill_t fill
Definition
resizebar.h:38
wlmtk_resizebar_style::bezel_width
uint64_t bezel_width
Definition
resizebar.h:44
wlmtk_style_fill_t
Definition
style.h:77
style.h
window.h
wlmtk_window_t
struct _wlmtk_window_t wlmtk_window_t
Definition
window.h:33
Generated by
1.17.0