wlmaker
Toggle main menu visibility
Loading...
Searching...
No Matches
include
toolkit
resizebar_area.h
Go to the documentation of this file.
1
/* ========================================================================= */
20
#ifndef __WLMTK_RESIZEBAR_AREA_H__
21
#define __WLMTK_RESIZEBAR_AREA_H__
22
23
#include <libbase/libbase.h>
24
#include <stdbool.h>
// for bool
25
#include <stdint.h>
// for uint32_t
26
28
typedef
struct
_wlmtk_resizebar_area_t
wlmtk_resizebar_area_t
;
29
30
#include "
element.h
"
31
#include "
style.h
"
32
#include "
window.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
// __cplusplus
37
46
wlmtk_resizebar_area_t
*
wlmtk_resizebar2_area_create
(
47
wlmtk_window_t
*
window_ptr
,
48
uint32_t
edges
);
49
55
void
wlmtk_resizebar_area_destroy
(
56
wlmtk_resizebar_area_t
*resizebar_area_ptr);
57
69
bool
wlmtk_resizebar_area_redraw
(
70
wlmtk_resizebar_area_t
*resizebar_area_ptr,
71
bs_gfxbuf_t *gfxbuf_ptr,
72
unsigned
position,
73
unsigned
width,
74
const
wlmtk_resizebar_style_t
*style_ptr);
75
77
wlmtk_element_t
*
wlmtk_resizebar_area_element
(
78
wlmtk_resizebar_area_t
*resizebar_area_ptr);
79
81
extern
const
bs_test_case_t
wlmtk_resizebar_area_test_cases
[];
82
83
#ifdef __cplusplus
84
}
// extern "C"
85
#endif
// __cplusplus
86
87
#endif
/* __WLMTK_RESIZEBAR_AREA_H__ */
88
/* == 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_cases
const bs_test_case_t wlmtk_resizebar_area_test_cases[]
Definition
resizebar_area.c:292
wlmtk_resizebar_area_element
wlmtk_element_t * wlmtk_resizebar_area_element(wlmtk_resizebar_area_t *resizebar_area_ptr)
Definition
resizebar_area.c:178
wlmtk_resizebar2_area_create
wlmtk_resizebar_area_t * wlmtk_resizebar2_area_create(wlmtk_window_t *window_ptr, uint32_t edges)
Definition
resizebar_area.c:94
wlmtk_resizebar_area_destroy
void wlmtk_resizebar_area_destroy(wlmtk_resizebar_area_t *resizebar_area_ptr)
Definition
resizebar_area.c:134
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 wlmtk_resizebar_style_t *style_ptr)
Definition
resizebar_area.c:147
wlmtk_resizebar_area_t
struct _wlmtk_resizebar_area_t wlmtk_resizebar_area_t
Definition
resizebar_area.h:28
_wlmtk_resizebar_area_t
Definition
resizebar_area.c:49
_wlmtk_resizebar_area_t::window_ptr
wlmtk_window_t * window_ptr
Definition
resizebar_area.c:64
_wlmtk_resizebar_area_t::edges
uint32_t edges
Definition
resizebar_area.c:66
wlmtk_resizebar_style_t
Definition
style.h:148
style.h
window.h
wlmtk_window_t
struct _wlmtk_window_t wlmtk_window_t
Definition
window.h:31
Generated by
1.17.0