Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/paint.h

    r81ec7e1 r1eaead4  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5555extern errno_t ui_paint_filled_circle(gfx_context_t *, gfx_coord2_t *,
    5656    gfx_coord_t, ui_fcircle_part_t);
     57extern errno_t ui_paint_up_triangle(gfx_context_t *, gfx_coord2_t *,
     58    gfx_coord_t);
     59extern errno_t ui_paint_down_triangle(gfx_context_t *, gfx_coord2_t *,
     60    gfx_coord_t);
     61extern errno_t ui_paint_left_triangle(gfx_context_t *, gfx_coord2_t *,
     62    gfx_coord_t);
     63extern errno_t ui_paint_right_triangle(gfx_context_t *, gfx_coord2_t *,
     64    gfx_coord_t);
     65extern errno_t ui_paint_cross(gfx_context_t *, gfx_coord2_t *, gfx_coord_t,
     66    gfx_coord_t, gfx_coord_t);
     67extern errno_t ui_paint_minicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,
     68    gfx_coord_t);
     69extern errno_t ui_paint_maxicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,
     70    gfx_coord_t);
     71extern errno_t ui_paint_unmaxicon(ui_resource_t *, gfx_coord2_t *, gfx_coord_t,
     72    gfx_coord_t, gfx_coord_t, gfx_coord_t);
     73extern errno_t ui_paint_text_box_custom(ui_resource_t *, gfx_rect_t *,
     74    ui_box_chars_t *, gfx_color_t *);
    5775extern errno_t ui_paint_text_box(ui_resource_t *, gfx_rect_t *,
    5876    ui_box_style_t, gfx_color_t *);
    5977extern errno_t ui_paint_text_hbrace(ui_resource_t *, gfx_rect_t *,
    6078    ui_box_style_t, gfx_color_t *);
     79extern errno_t ui_paint_text_rect(ui_resource_t *, gfx_rect_t *, gfx_color_t *,
     80    const char *);
     81extern void ui_text_fmt_init(ui_text_fmt_t *);
     82extern gfx_coord_t ui_text_width(gfx_font_t *, const char *);
     83extern errno_t ui_paint_text(gfx_coord2_t *, ui_text_fmt_t *, const char *);
    6184
    6285#endif
Note: See TracChangeset for help on using the changeset viewer.