Changes in uspace/lib/ui/include/ui/paint.h [1eaead4:de9992c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/ui/paint.h
r1eaead4 rde9992c 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 40 40 #include <gfx/color.h> 41 41 #include <gfx/coord.h> 42 #include <types/ui/paint.h>43 #include <types/ui/resource.h>44 42 45 e xtern errno_t ui_paint_bevel(gfx_context_t *, gfx_rect_t *, gfx_color_t *,43 errno_t ui_paint_bevel(gfx_context_t *, gfx_rect_t *, gfx_color_t *, 46 44 gfx_color_t *, gfx_coord_t, gfx_rect_t *); 47 extern void ui_paint_get_bevel_inside(gfx_context_t *, gfx_rect_t *,48 gfx_coord_t, gfx_rect_t *);49 extern errno_t ui_paint_inset_frame(ui_resource_t *, gfx_rect_t *,50 gfx_rect_t *);51 extern void ui_paint_get_inset_frame_inside(ui_resource_t *, gfx_rect_t *,52 gfx_rect_t *);53 extern errno_t ui_paint_outset_frame(ui_resource_t *, gfx_rect_t *,54 gfx_rect_t *);55 extern errno_t ui_paint_filled_circle(gfx_context_t *, gfx_coord2_t *,56 gfx_coord_t, ui_fcircle_part_t);57 extern errno_t ui_paint_up_triangle(gfx_context_t *, gfx_coord2_t *,58 gfx_coord_t);59 extern errno_t ui_paint_down_triangle(gfx_context_t *, gfx_coord2_t *,60 gfx_coord_t);61 extern errno_t ui_paint_left_triangle(gfx_context_t *, gfx_coord2_t *,62 gfx_coord_t);63 extern errno_t ui_paint_right_triangle(gfx_context_t *, gfx_coord2_t *,64 gfx_coord_t);65 extern errno_t ui_paint_cross(gfx_context_t *, gfx_coord2_t *, gfx_coord_t,66 gfx_coord_t, gfx_coord_t);67 extern errno_t ui_paint_minicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,68 gfx_coord_t);69 extern errno_t ui_paint_maxicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,70 gfx_coord_t);71 extern errno_t ui_paint_unmaxicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,72 gfx_coord_t, gfx_coord_t, gfx_coord_t);73 extern errno_t ui_paint_text_box_custom(ui_resource_t *, gfx_rect_t *,74 ui_box_chars_t *, gfx_color_t *);75 extern errno_t ui_paint_text_box(ui_resource_t *, gfx_rect_t *,76 ui_box_style_t, gfx_color_t *);77 extern errno_t ui_paint_text_hbrace(ui_resource_t *, gfx_rect_t *,78 ui_box_style_t, gfx_color_t *);79 extern errno_t ui_paint_text_rect(ui_resource_t *, gfx_rect_t *, gfx_color_t *,80 const char *);81 extern void ui_text_fmt_init(ui_text_fmt_t *);82 extern gfx_coord_t ui_text_width(gfx_font_t *, const char *);83 extern errno_t ui_paint_text(gfx_coord2_t *, ui_text_fmt_t *, const char *);84 45 85 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.