Changeset 214aefb in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2021-04-09T22:41:22Z (5 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0262f16c
Parents:
b0858150
git-author:
Jiri Svoboda <jiri@…> (2021-03-27 22:52:09)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

UI menu (WIP)

Location:
uspace/lib/ui/include
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/rbutton.h

    rb0858150 r214aefb  
    3737#define _UI_TYPES_RBUTTON_H
    3838
    39 #include <stdbool.h>
    40 
    4139struct ui_rbutton_group;
    4240typedef struct ui_rbutton_group ui_rbutton_group_t;
  • uspace/lib/ui/include/types/ui/resource.h

    rb0858150 r214aefb  
    4040typedef struct ui_resource ui_resource_t;
    4141
     42typedef void (*ui_expose_cb_t)(void *);
     43
    4244#endif
    4345
  • uspace/lib/ui/include/ui/paint.h

    rb0858150 r214aefb  
    4747extern errno_t ui_paint_inset_frame(ui_resource_t *, gfx_rect_t *,
    4848    gfx_rect_t *);
     49extern errno_t ui_paint_outset_frame(ui_resource_t *, gfx_rect_t *,
     50    gfx_rect_t *);
    4951extern errno_t ui_paint_filled_circle(gfx_context_t *, gfx_coord2_t *,
    5052    gfx_coord_t, ui_fcircle_part_t);
  • uspace/lib/ui/include/ui/resource.h

    rb0858150 r214aefb  
    4444extern errno_t ui_resource_create(gfx_context_t *, bool, ui_resource_t **);
    4545extern void ui_resource_destroy(ui_resource_t *);
     46extern void ui_resource_set_expose_cb(ui_resource_t *, ui_expose_cb_t,
     47    void *);
     48extern void ui_resource_expose(ui_resource_t *);
    4649
    4750#endif
Note: See TracChangeset for help on using the changeset viewer.