wlmaker
Loading...
Searching...
No Matches
primitives.h
Go to the documentation of this file.
1/* ========================================================================= */
21#ifndef __WLMTK_PRIMITIVES_H__
22#define __WLMTK_PRIMITIVES_H__
23
24#include <cairo.h>
25#include <libbase/libbase.h>
26#include <stdbool.h>
27#include <stdint.h>
28
29#include "style.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif // __cplusplus
34
42 cairo_t *cairo_ptr,
43 const wlmtk_style_fill_t *fill_ptr);
44
56 cairo_t *cairo_ptr,
57 int x,
58 int y,
59 unsigned width,
60 unsigned height,
61 const wlmtk_style_fill_t *fill_ptr);
62
76 cairo_t *cairo_ptr,
77 bool illuminated);
78
88 cairo_t *cairo_ptr,
89 double bezel_width,
90 bool raised);
91
105 cairo_t *cairo_ptr,
106 int x,
107 int y,
108 unsigned width,
109 unsigned height,
110 double bezel_width,
111 bool raised);
112
121 cairo_t *cairo_ptr,
122 int size,
123 uint32_t color);
124
133 cairo_t *cairo_ptr,
134 int size,
135 uint32_t color);
136
146 cairo_t *cairo_ptr,
147 const wlmtk_style_font_t *font_style_ptr,
148 const char *title_ptr,
149 uint32_t color);
150
162 cairo_t *cairo_ptr,
163 int x,
164 int y,
165 const wlmtk_style_font_t *font_style_ptr,
166 uint32_t color,
167 const char *text_ptr);
168
170extern const bs_test_set_t wlmaker_primitives_test_set;
171
172#ifdef __cplusplus
173} // extern "C"
174#endif // __cplusplus
175
176#endif /* __WLMTK_PRIMITIVES_H__ */
177/* == End of primitives.h ================================================== */
void wlmaker_primitives_draw_bezel_at(cairo_t *cairo_ptr, int x, int y, unsigned width, unsigned height, double bezel_width, bool raised)
Definition primitives.c:154
void wlmaker_primitives_draw_bezel(cairo_t *cairo_ptr, double bezel_width, bool raised)
Definition primitives.c:142
void wlmaker_primitives_draw_minimize_icon(cairo_t *cairo_ptr, int size, uint32_t color)
Definition primitives.c:192
const bs_test_set_t wlmaker_primitives_test_set
Definition primitives.c:299
void wlmaker_primitives_draw_window_title(cairo_t *cairo_ptr, const wlmtk_style_font_t *font_style_ptr, const char *title_ptr, uint32_t color)
Definition primitives.c:236
void wlmaker_primitives_cairo_fill_at(cairo_t *cairo_ptr, int x, int y, unsigned width, unsigned height, const wlmtk_style_fill_t *fill_ptr)
Definition primitives.c:41
void wlmaker_primitives_set_bezel_color(cairo_t *cairo_ptr, bool illuminated)
Definition primitives.c:130
void wlmaker_primitives_cairo_fill(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr)
Definition primitives.c:30
void wlmaker_primitives_draw_close_icon(cairo_t *cairo_ptr, int size, uint32_t color)
Definition primitives.c:213
void wlmaker_primitives_draw_text(cairo_t *cairo_ptr, int x, int y, const wlmtk_style_font_t *font_style_ptr, uint32_t color, const char *text_ptr)
Definition primitives.c:251
Definition style.h:77
Definition style.h:105