Changeset 47728678 in mainline for uspace/lib/ui/test/pbutton.c


Ignore:
Timestamp:
2020-10-13T09:24:56Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f6df5a3
Parents:
f80690a
git-author:
Jiri Svoboda <jiri@…> (2020-10-12 21:24:39)
git-committer:
Jiri Svoboda <jiri@…> (2020-10-13 09:24:56)
Message:

Push button - first light

Introduced ui_resource_t class to hold common UI resources such as font,
colors, etc. We don't want every button to load its own copy of the font.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/pbutton.c

    rf80690a r47728678  
    4040        errno_t rc;
    4141
    42         rc = ui_pbutton_create("Hello", &pbutton);
     42        rc = ui_pbutton_create(NULL, "Hello", &pbutton);
    4343        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    4444
Note: See TracChangeset for help on using the changeset viewer.