wlmaker
Loading...
Searching...
No Matches
bordered.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_BORDERED_H__
21#define __WLMTK_BORDERED_H__
22
23#include <stdbool.h>
24
25#include "libbase/libbase.h"
26
27#include "element.h"
28#include "container.h"
29#include "rectangle.h"
30#include "style.h"
31
35
36#ifdef __cplusplus
37extern "C" {
38#endif // __cplusplus
39
61
74bool wlmtk_bordered_init(wlmtk_bordered_t *bordered_ptr,
75 wlmtk_element_t *element_ptr,
76 const wlmtk_margin_style_t *style_ptr);
77
83void wlmtk_bordered_fini(wlmtk_bordered_t *bordered_ptr);
84
92 const wlmtk_margin_style_t *style_ptr);
93
96
98extern const bs_test_case_t wlmtk_bordered_test_cases[];
99
100#ifdef __cplusplus
101} // extern "C"
102#endif // __cplusplus
103
104#endif /* __WLMTK_BORDERED_H__ */
105/* == End of bordered.h ==================================================== */
bool wlmtk_bordered_init(wlmtk_bordered_t *bordered_ptr, wlmtk_element_t *element_ptr, const wlmtk_margin_style_t *style_ptr)
Definition bordered.c:49
wlmtk_element_t * wlmtk_bordered_element(wlmtk_bordered_t *bordered_ptr)
Definition bordered.c:125
void wlmtk_bordered_fini(wlmtk_bordered_t *bordered_ptr)
Definition bordered.c:86
const bs_test_case_t wlmtk_bordered_test_cases[]
Definition bordered.c:241
void wlmtk_bordered_set_style(wlmtk_bordered_t *bordered_ptr, const wlmtk_margin_style_t *style_ptr)
Definition bordered.c:104
Definition bordered.h:41
wlmtk_rectangle_t * western_border_rectangle_ptr
Definition bordered.h:59
wlmtk_container_vmt_t orig_super_container_vmt
Definition bordered.h:45
wlmtk_element_t * element_ptr
Definition bordered.h:48
wlmtk_rectangle_t * northern_border_rectangle_ptr
Definition bordered.h:53
wlmtk_rectangle_t * southern_border_rectangle_ptr
Definition bordered.h:57
wlmtk_rectangle_t * eastern_border_rectangle_ptr
Definition bordered.h:55
wlmtk_margin_style_t style
Definition bordered.h:50
wlmtk_container_t super_container
Definition bordered.h:43
Definition container.h:60
Definition container.h:43
Definition element.h:175
Definition rectangle.c:39
Definition style.h:112