wlmaker
Loading...
Searching...
No Matches
rectangle.h
Go to the documentation of this file.
1/* ========================================================================= */
21#ifndef __WLMTK_RECTANGLE_H__
22#define __WLMTK_RECTANGLE_H__
23
24#include <libbase/libbase.h>
25#include <stdint.h>
26
27#include "element.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif // __cplusplus
32
35
46 int width,
47 int height,
48 uint32_t color);
49
56
65 wlmtk_rectangle_t *rectangle_ptr,
66 int width,
67 int height);
68
76 wlmtk_rectangle_t *rectangle_ptr,
77 uint32_t color);
78
81
92
94extern const bs_test_set_t wlmtk_rectangle_test_set;
95
96#ifdef __cplusplus
97} // extern "C"
98#endif // __cplusplus
99
100#endif /* __WLMTK_RECTANGLE_H__ */
101/* == End of rectangle.h =================================================== */
wlmtk_rectangle_t * wlmtk_rectangle_create(int width, int height, uint32_t color)
Definition rectangle.c:93
void wlmtk_rectangle_set_color(wlmtk_rectangle_t *rectangle_ptr, uint32_t color)
Definition rectangle.c:152
void wlmtk_rectangle_set_size(wlmtk_rectangle_t *rectangle_ptr, int width, int height)
Definition rectangle.c:135
void wlmtk_rectangle_destroy(wlmtk_rectangle_t *rectangle_ptr)
Definition rectangle.c:121
wlmtk_rectangle_t * wlmtk_rectangle_from_element(wlmtk_element_t *element_ptr)
Definition rectangle.c:173
wlmtk_element_t * wlmtk_rectangle_element(wlmtk_rectangle_t *rectangle_ptr)
Definition rectangle.c:167
const bs_test_set_t wlmtk_rectangle_test_set
Definition rectangle.c:307
Definition element.h:188
Definition rectangle.c:39
uint32_t color
Definition rectangle.c:50
int width
Definition rectangle.c:46
int height
Definition rectangle.c:48