Changeset 3583ffb in mainline for uspace/lib/ui/src/pbutton.c
- Timestamp:
- 2020-11-08T19:51:04Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f93e4e3
- Parents:
- 8c772c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/pbutton.c
r8c772c4 r3583ffb 47 47 #include "../private/pbutton.h" 48 48 #include "../private/resource.h" 49 #include "../private/ui.h"50 49 51 50 /** Caption movement when button is pressed down */ … … 73 72 * @return EOK on success, ENOMEM if out of memory 74 73 */ 75 errno_t ui_pbutton_create(ui_ t *ui, const char *caption,74 errno_t ui_pbutton_create(ui_resource_t *resource, const char *caption, 76 75 ui_pbutton_t **rpbutton) 77 76 { … … 97 96 } 98 97 99 pbutton->res = ui->resource;98 pbutton->res = resource; 100 99 *rpbutton = pbutton; 101 100 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.