wlmaker
Toggle main menu visibility
Loading...
Searching...
No Matches
include
toolkit
resizebar_area.h
Go to the documentation of this file.
1
/* ========================================================================= */
21
#ifndef __WLMTK_RESIZEBAR_AREA_H__
22
#define __WLMTK_RESIZEBAR_AREA_H__
23
24
#include <libbase/libbase.h>
25
#include <stdbool.h>
// for bool
26
#include <stdint.h>
// for uint32_t
27
29
typedef
struct
_wlmtk_resizebar_area_t
wlmtk_resizebar_area_t
;
30
31
struct
wlmtk_resizebar_style
;
32
33
#include "
element.h
"
34
#include "
window.h
"
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
// __cplusplus
39
48
wlmtk_resizebar_area_t
*
wlmtk_resizebar_area_create
(
49
wlmtk_window_t
*window_ptr,
50
uint32_t edges);
51
57
void
wlmtk_resizebar_area_destroy
(
58
wlmtk_resizebar_area_t
*resizebar_area_ptr);
59
71
bool
wlmtk_resizebar_area_redraw
(
72
wlmtk_resizebar_area_t
*resizebar_area_ptr,
73
bs_gfxbuf_t *gfxbuf_ptr,
74
unsigned
position,
75
unsigned
width,
76
const
struct
wlmtk_resizebar_style
*style_ptr);
77
79
wlmtk_element_t
*
wlmtk_resizebar_area_element
(
80
wlmtk_resizebar_area_t
*resizebar_area_ptr);
81
83
extern
const
bs_test_set_t
wlmtk_resizebar_area_test_set
;
84
85
#ifdef __cplusplus
86
}
// extern "C"
87
#endif
// __cplusplus
88
89
#endif
/* __WLMTK_RESIZEBAR_AREA_H__ */
90
/* == End of resizebar_area.h ============================================== */
element.h
wlmtk_element_t
struct _wlmtk_element_t wlmtk_element_t
Definition
element.h:37
wlmtk_resizebar_area_test_set
const bs_test_set_t wlmtk_resizebar_area_test_set
Definition
resizebar_area.c:300
wlmtk_resizebar_area_element
wlmtk_element_t * wlmtk_resizebar_area_element(wlmtk_resizebar_area_t *resizebar_area_ptr)
Definition
resizebar_area.c:180
wlmtk_resizebar_area_redraw
bool wlmtk_resizebar_area_redraw(wlmtk_resizebar_area_t *resizebar_area_ptr, bs_gfxbuf_t *gfxbuf_ptr, unsigned position, unsigned width, const struct wlmtk_resizebar_style *style_ptr)
Definition
resizebar_area.c:149
wlmtk_resizebar_area_create
wlmtk_resizebar_area_t * wlmtk_resizebar_area_create(wlmtk_window_t *window_ptr, uint32_t edges)
Definition
resizebar_area.c:96
wlmtk_resizebar_area_destroy
void wlmtk_resizebar_area_destroy(wlmtk_resizebar_area_t *resizebar_area_ptr)
Definition
resizebar_area.c:136
wlmtk_resizebar_area_t
struct _wlmtk_resizebar_area_t wlmtk_resizebar_area_t
Definition
resizebar_area.h:29
_wlmtk_resizebar_area_t
Definition
resizebar_area.c:51
wlmtk_resizebar_style
Definition
resizebar.h:36
window.h
wlmtk_window_t
struct _wlmtk_window_t wlmtk_window_t
Definition
window.h:33
Generated by
1.17.0