wlmaker
Loading...
Searching...
No Matches
primitives.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_PRIMITIVES_H__
21#define __WLMTK_PRIMITIVES_H__
22
23#include <cairo.h>
24#include <libbase/libbase.h>
25
26#include "style.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif // __cplusplus
31
39 cairo_t *cairo_ptr,
40 const wlmtk_style_fill_t *fill_ptr);
41
53 cairo_t *cairo_ptr,
54 int x,
55 int y,
56 unsigned width,
57 unsigned height,
58 const wlmtk_style_fill_t *fill_ptr);
59
73 cairo_t *cairo_ptr,
74 bool illuminated);
75
85 cairo_t *cairo_ptr,
86 double bezel_width,
87 bool raised);
88
102 cairo_t *cairo_ptr,
103 int x,
104 int y,
105 unsigned width,
106 unsigned height,
107 double bezel_width,
108 bool raised);
109
118 cairo_t *cairo_ptr,
119 int size,
120 uint32_t color);
121
130 cairo_t *cairo_ptr,
131 int size,
132 uint32_t color);
133
143 cairo_t *cairo_ptr,
144 const wlmtk_style_font_t *font_style_ptr,
145 const char *title_ptr,
146 uint32_t color);
147
159 cairo_t *cairo_ptr,
160 int x,
161 int y,
162 const wlmtk_style_font_t *font_style_ptr,
163 uint32_t color,
164 const char *text_ptr);
165
167extern const bs_test_case_t wlmaker_primitives_test_cases[];
168
169#ifdef __cplusplus
170} // extern "C"
171#endif // __cplusplus
172
173#endif /* __WLMTK_PRIMITIVES_H__ */
174/* == 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:152
void wlmaker_primitives_draw_bezel(cairo_t *cairo_ptr, double bezel_width, bool raised)
Definition primitives.c:140
void wlmaker_primitives_draw_minimize_icon(cairo_t *cairo_ptr, int size, uint32_t color)
Definition primitives.c:190
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:235
const bs_test_case_t wlmaker_primitives_test_cases[]
Definition primitives.c:284
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:39
void wlmaker_primitives_set_bezel_color(cairo_t *cairo_ptr, bool illuminated)
Definition primitives.c:128
void wlmaker_primitives_cairo_fill(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr)
Definition primitives.c:28
void wlmaker_primitives_draw_close_icon(cairo_t *cairo_ptr, int size, uint32_t color)
Definition primitives.c:211
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:250
Definition style.h:73
Definition style.h:101