wlmaker
Loading...
Searching...
No Matches
resizebar.h
Go to the documentation of this file.
1/* ========================================================================= */
21#ifndef __WLMTK_RESIZEBAR_H__
22#define __WLMTK_RESIZEBAR_H__
23
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
46
47#include "window.h" // IWYU pragma: keep
48
49#ifdef __cplusplus
50extern "C" {
51#endif // __cplusplus
52
63 wlmtk_window_t *window_ptr,
64 const struct wlmtk_resizebar_style *style_ptr);
65
72
82 wlmtk_resizebar_t *resizebar_ptr,
83 unsigned width);
84
95 wlmtk_resizebar_t *resizebar_ptr,
96 const struct wlmtk_resizebar_style *style_ptr);
97
106
107extern const bspl_desc_t wlmtk_resizebar_style_desc[];
108
110extern 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 ================================================== */
bool wlmtk_resizebar_set_width(wlmtk_resizebar_t *resizebar_ptr, unsigned width)
Definition resizebar.c:186
void wlmtk_resizebar_destroy(wlmtk_resizebar_t *resizebar_ptr)
Definition resizebar.c:151
bool wlmtk_resizebar_set_style(wlmtk_resizebar_t *resizebar_ptr, const struct wlmtk_resizebar_style *style_ptr)
Definition resizebar.c:196
const bs_test_set_t wlmtk_resizebar_test_set
Definition resizebar.c:315
const bspl_desc_t wlmtk_resizebar_style_desc[]
Definition resizebar.c:79
wlmtk_resizebar_t * wlmtk_resizebar_create(wlmtk_window_t *window_ptr, const struct wlmtk_resizebar_style *style_ptr)
Definition resizebar.c:97
wlmtk_element_t * wlmtk_resizebar_element(wlmtk_resizebar_t *resizebar_ptr)
Definition resizebar.c:207
Definition element.h:188
Definition resizebar.c:41
Definition window.c:53
Definition resizebar.h:36
uint64_t height
Definition resizebar.h:40
uint64_t corner_width
Definition resizebar.h:42
wlmtk_style_fill_t fill
Definition resizebar.h:38
uint64_t bezel_width
Definition resizebar.h:44
Definition style.h:77