Mercurial > molko
diff examples/example-ui/example-ui.c @ 606:35e58271d820
ui: do the same with checkbox
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 11 Aug 2023 12:58:02 +0200 |
parents | a8094fad01a1 |
children | ade3030f29f0 |
line wrap: on
line diff
--- a/examples/example-ui/example-ui.c Fri Aug 11 19:22:00 2023 +0200 +++ b/examples/example-ui/example-ui.c Fri Aug 11 12:58:02 2023 +0200 @@ -125,7 +125,9 @@ .autosave = { .cb = { .w = ELEMENT_HEIGHT, - .h = ELEMENT_HEIGHT + .h = ELEMENT_HEIGHT, + .delegate = &mlk_checkbox_delegate, + .style = &mlk_style }, .label = { .text = "Auto save game",