Changeset d55ab823 in mainline
- Timestamp:
- 2020-11-07T16:16:01Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c772c4
- Parents:
- b71c0fc
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/uidemo/uidemo.c
rb71c0fc rd55ab823 36 36 #include <stdio.h> 37 37 #include <str.h> 38 #include <task.h>39 38 #include <ui/fixed.h> 40 39 #include <ui/label.h> … … 128 127 demo.window = window; 129 128 130 task_retval(0);131 132 129 ui_res = ui_window_get_res(window); 133 130 -
uspace/lib/ui/src/ui.c
rb71c0fc rd55ab823 38 38 #include <fibril.h> 39 39 #include <stdlib.h> 40 #include <task.h> 40 41 #include <ui/ui.h> 41 42 #include "../private/ui.h" … … 105 106 /** Execute user interface. 106 107 * 107 * This function returns once the application starts the termination108 * process by calling ui_quit(@a ui).108 * Return task exit code of zero and block unitl the application starts 109 * the termination process by calling ui_quit(@a ui). 109 110 * 110 111 * @param ui User interface … … 112 113 void ui_run(ui_t *ui) 113 114 { 115 task_retval(0); 116 114 117 while (!ui->quit) 115 118 fibril_usleep(100000);
Note:
See TracChangeset
for help on using the changeset viewer.