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
34
35#ifdef __cplusplus
36extern "C" {
37#endif // __cplusplus
38
60
73bool wlmtk_bordered_init(wlmtk_bordered_t *bordered_ptr,
74 wlmtk_element_t *element_ptr,
75 const wlmtk_margin_style_t *style_ptr);
76
82void wlmtk_bordered_fini(wlmtk_bordered_t *bordered_ptr);
83
91 const wlmtk_margin_style_t *style_ptr);
92
95
97extern const bs_test_case_t wlmtk_bordered_test_cases[];
98
99#ifdef __cplusplus
100} // extern "C"
101#endif // __cplusplus
102
103#endif /* __WLMTK_BORDERED_H__ */
104/* == 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:240
void wlmtk_bordered_set_style(wlmtk_bordered_t *bordered_ptr, const wlmtk_margin_style_t *style_ptr)
Definition bordered.c:104
Definition bordered.h:40
wlmtk_rectangle_t * western_border_rectangle_ptr
Definition bordered.h:58
wlmtk_container_vmt_t orig_super_container_vmt
Definition bordered.h:44
wlmtk_element_t * element_ptr
Definition bordered.h:47
wlmtk_rectangle_t * northern_border_rectangle_ptr
Definition bordered.h:52
wlmtk_rectangle_t * southern_border_rectangle_ptr
Definition bordered.h:56
wlmtk_rectangle_t * eastern_border_rectangle_ptr
Definition bordered.h:54
wlmtk_margin_style_t style
Definition bordered.h:49
wlmtk_container_t super_container
Definition bordered.h:42
Definition container.h:55
Definition container.h:42
Definition element.h:181
Definition rectangle.c:39
Definition style.h:112