Changeset 62223ec in mainline for uspace/lib/ui/src/fixed.c
- Timestamp:
- 2021-04-09T22:41:22Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f251883
- Parents:
- 0262f16c
- git-author:
- Jiri Svoboda <jiri@…> (2021-04-01 21:04:11)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/fixed.c
r0262f16c r62223ec 47 47 static errno_t ui_fixed_ctl_paint(void *); 48 48 static ui_evclaim_t ui_fixed_ctl_pos_event(void *, pos_event_t *); 49 static void ui_fixed_ctl_unfocus(void *); 49 50 50 51 /** Push button control ops */ … … 52 53 .destroy = ui_fixed_ctl_destroy, 53 54 .paint = ui_fixed_ctl_paint, 54 .pos_event = ui_fixed_ctl_pos_event 55 .pos_event = ui_fixed_ctl_pos_event, 56 .unfocus = ui_fixed_ctl_unfocus 55 57 }; 56 58 … … 232 234 } 233 235 236 /** Handle fixed layout window unfocus notification. 237 * 238 * @param fixed Fixed layout 239 */ 240 void ui_fixed_unfocus(ui_fixed_t *fixed) 241 { 242 ui_fixed_elem_t *elem; 243 244 elem = ui_fixed_first(fixed); 245 while (elem != NULL) { 246 ui_control_unfocus(elem->control); 247 248 elem = ui_fixed_next(elem); 249 } 250 } 251 234 252 /** Destroy fixed layout control. 235 253 * … … 268 286 } 269 287 288 /** Handle fixed layout control window unfocus notification. 289 * 290 * @param arg Argument (ui_fixed_t *) 291 */ 292 void ui_fixed_ctl_unfocus(void *arg) 293 { 294 ui_fixed_t *fixed = (ui_fixed_t *) arg; 295 296 ui_fixed_unfocus(fixed); 297 } 298 270 299 /** @} 271 300 */
Note:
See TracChangeset
for help on using the changeset viewer.