Changeset 86fff971 in mainline for uspace/lib/ui/include/ui/paint.h


Ignore:
Timestamp:
2022-04-04T18:49:30Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fd05ea6
Parents:
d68239a1
Message:

'X' does not mark the spot

Stop misusing 'X' character as a cross mark, create a routine for
drawing a cross and use it as a custom decoration for the close button.
Also use it for checkbox cross.

File:
1 edited

Legend:

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

    rd68239a1 r86fff971  
    6363extern errno_t ui_paint_right_triangle(gfx_context_t *, gfx_coord2_t *,
    6464    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);
    6567extern errno_t ui_paint_text_box(ui_resource_t *, gfx_rect_t *,
    6668    ui_box_style_t, gfx_color_t *);
Note: See TracChangeset for help on using the changeset viewer.