wlmaker
Loading...
Searching...
No Matches
decorations.h
Go to the documentation of this file.
1/* ========================================================================= */
22#ifndef __DECORATIONS_H__
23#define __DECORATIONS_H__
24
25#include <cairo.h>
26
27#include <stdint.h>
28#include <libbase/libbase.h>
29
30#include "cairo_util.h"
31#include "toolkit/toolkit.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif // __cplusplus
36
38extern const uint32_t wlmaker_decorations_tile_size;
40extern const uint32_t wlmaker_decorations_clip_button_size;
41
50 cairo_t *cairo_ptr,
51 const wlmtk_style_fill_t *fill_ptr,
52 bool pressed);
53
63 cairo_t *cairo_ptr,
64 const char *icon_path_ptr);
65
75 cairo_t *cairo_ptr,
76 const wlmtk_style_fill_t *fill_ptr,
77 uint32_t font_color,
78 const char *title_ptr);
79
93 cairo_t *cairo_ptr,
94 const wlmtk_style_fill_t *fill_ptr,
95 bool pressed);
96
107 cairo_t *cairo_ptr,
108 const wlmtk_style_fill_t *fill_ptr,
109 bool pressed);
110
121 cairo_t *cairo_ptr,
122 const wlmtk_style_fill_t *fill_ptr,
123 bool pressed);
124
126extern const bs_test_case_t wlmaker_decorations_test_cases[];
127
128#ifdef __cplusplus
129} // extern "C"
130#endif // __cplusplus
131
132#endif /* __DECORATIONS_H__ */
133/* == End of decorations.h ================================================= */
const uint32_t wlmaker_decorations_clip_button_size
Definition decorations.c:37
const uint32_t wlmaker_decorations_tile_size
Definition decorations.c:33
bool wlmaker_decorations_draw_clip_button_next(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr, bool pressed)
Definition decorations.c:234
bool wlmaker_decorations_draw_clip_button_prev(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr, bool pressed)
Definition decorations.c:329
void wlmaker_decorations_draw_tile(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr, bool pressed)
Definition decorations.c:60
bool wlmaker_decorations_draw_clip(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr, bool pressed)
Definition decorations.c:151
const bs_test_case_t wlmaker_decorations_test_cases[]
Definition decorations.c:468
void wlmaker_decorations_draw_iconified(cairo_t *cairo_ptr, const wlmtk_style_fill_t *fill_ptr, uint32_t font_color, const char *title_ptr)
Definition decorations.c:119
bool wlmaker_decorations_draw_tile_icon(cairo_t *cairo_ptr, const char *icon_path_ptr)
Definition decorations.c:71
Definition style.h:55