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
117 cairo_t *cairo_ptr,
118 uint32_t color);
119
127 cairo_t *cairo_ptr,
128 uint32_t color);
129
138 cairo_t *cairo_ptr,
139 const char *title_ptr,
140 uint32_t color);
141
143extern const bs_test_case_t wlmaker_primitives_test_cases[];
144
145#ifdef __cplusplus
146} // extern "C"
147#endif // __cplusplus
148
149#endif /* __WLMTK_PRIMITIVES_H__ */
150/* == End of primitives.h ================================================== */
void wlmaker_primitives_draw_close_icon(cairo_t *cairo_ptr, uint32_t color)
Definition primitives.c:176
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:120
void wlmaker_primitives_draw_bezel(cairo_t *cairo_ptr, double bezel_width, bool raised)
Definition primitives.c:108
void wlmaker_primitives_draw_window_title(cairo_t *cairo_ptr, const char *title_ptr, uint32_t color)
Definition primitives.c:198
const bs_test_case_t wlmaker_primitives_test_cases[]
Definition primitives.c:224
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:96
void wlmaker_primitives_draw_minimize_icon(cairo_t *cairo_ptr, uint32_t color)
Definition primitives.c:158
void wlmaker_primitives_cairo_fill(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr)
Definition primitives.c:28
Definition style.h:55