Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7020d1f in mainline for uspace/lib/ui/include/ui/paint.h


Ignore:
Timestamp:
2021-02-01T10:53:48Z (12 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
f14a900
Parents:
d70dc1c4
git-author:
Jiri Svoboda <jiri@…> (2020-01-31 16:53:25)
git-committer:
Jiri Svoboda <jiri@…> (2021-02-01 10:53:48)
Message:

Radio button

Please don't ask me how I derived the formulae for circle midpoint
algorithm, it's been 8 years and I just don't remember.

File:
1 edited

Legend:

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

    rd70dc1c4 r7020d1f  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <gfx/color.h>
    4141#include <gfx/coord.h>
     42#include <types/ui/paint.h>
    4243#include <types/ui/resource.h>
    4344
    44 errno_t ui_paint_bevel(gfx_context_t *, gfx_rect_t *, gfx_color_t *,
     45extern errno_t ui_paint_bevel(gfx_context_t *, gfx_rect_t *, gfx_color_t *,
    4546    gfx_color_t *, gfx_coord_t, gfx_rect_t *);
    46 errno_t ui_paint_inset_frame(ui_resource_t *, gfx_rect_t *, gfx_rect_t *);
     47extern errno_t ui_paint_inset_frame(ui_resource_t *, gfx_rect_t *,
     48    gfx_rect_t *);
     49extern errno_t ui_paint_filled_circle(gfx_context_t *, gfx_coord2_t *,
     50    gfx_coord_t, ui_fcircle_part_t);
    4751
    4852#endif
Note: See TracChangeset for help on using the changeset viewer.