Changeset f93e4e3 in mainline


Ignore:
Timestamp:
2020-11-08T22:24:45Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a09d401
Parents:
3583ffb
Message:

Add UI image

Location:
uspace
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/uidemo/meson.build

    r3583ffb rf93e4e3  
    2727#
    2828
    29 deps = [ 'display', 'ui' ]
     29deps = [ 'ui' ]
    3030src = files(
    3131        'uidemo.c',
  • uspace/lib/gfx/src/bitmap.c

    r3583ffb rf93e4e3  
    6262 *
    6363 * @return EOK on success, EINVAL if parameters are invald,
    64  *         ENOMEM if insufficient resources, EIO if grahic device connection
     64 *         ENOMEM if insufficient resources, EIO if graphic device connection
    6565 *         was lost
    6666 */
     
    9292 * @param bitmap Bitmap
    9393 *
    94  * @return EOK on success, EIO if grahic device connection was lost
     94 * @return EOK on success, EIO if graphic device connection was lost
    9595 */
    9696errno_t gfx_bitmap_destroy(gfx_bitmap_t *bitmap)
     
    112112 * @param offs Bitmap offset or @c NULL for zero offset
    113113 *
    114  * @return EOK on success, EIO if grahic device connection was lost
     114 * @return EOK on success, EIO if graphic device connection was lost
    115115 */
    116116errno_t gfx_bitmap_render(gfx_bitmap_t *bitmap, gfx_rect_t *srect,
     
    125125 * @param alloc Allocation info structure to fill in
    126126 *
    127  * @return EOK on success, EIO if grahic device connection was lost
     127 * @return EOK on success, EIO if graphic device connection was lost
    128128 */
    129129errno_t gfx_bitmap_get_alloc(gfx_bitmap_t *bitmap, gfx_bitmap_alloc_t *alloc)
  • uspace/lib/ui/meson.build

    r3583ffb rf93e4e3  
    3232        'src/dummygc.c',
    3333        'src/fixed.c',
     34        'src/image.c',
    3435        'src/label.c',
    3536        'src/paint.c',
     
    4445        'test/control.c',
    4546        'test/fixed.c',
     47        'test/image.c',
    4648        'test/label.c',
    4749        'test/main.c',
  • uspace/lib/ui/test/label.c

    r3583ffb rf93e4e3  
    7979} test_cb_resp_t;
    8080
    81 /** Create and destroy button */
     81/** Create and destroy label */
    8282PCUT_TEST(create_destroy)
    8383{
     
    114114}
    115115
    116 /** Set button rectangle sets internal field */
     116/** Set label rectangle sets internal field */
    117117PCUT_TEST(set_rect)
    118118{
     
    138138}
    139139
    140 /** Set button text horizontal alignment sets internal field */
     140/** Set label text horizontal alignment sets internal field */
    141141PCUT_TEST(set_halign)
    142142{
     
    155155}
    156156
    157 /** Set button rectangle sets internal field */
     157/** Set label rectangle sets internal field */
    158158PCUT_TEST(set_text)
    159159{
     
    179179}
    180180
    181 /** Paint button */
     181/** Paint label */
    182182PCUT_TEST(paint)
    183183{
  • uspace/lib/ui/test/main.c

    r3583ffb rf93e4e3  
    3333PCUT_IMPORT(control);
    3434PCUT_IMPORT(fixed);
     35PCUT_IMPORT(image);
    3536PCUT_IMPORT(label);
    3637PCUT_IMPORT(paint);
Note: See TracChangeset for help on using the changeset viewer.