Mercurial > molko
comparison examples/example-sound.c @ 150:9733d379be89
ui: add a standalone align() function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 15 Oct 2020 13:13:38 +0200 |
parents | c577c15df07f |
children | aa6e70e330a1 |
comparison
equal
deleted
inserted
replaced
149:a43e79d489ea | 150:9733d379be89 |
---|---|
39 .text = "Keys: <s> start, <p> pause, <r> resume, <q> stop, <l> loop", | 39 .text = "Keys: <s> start, <p> pause, <r> resume, <q> stop, <l> loop", |
40 .x = 10, | 40 .x = 10, |
41 .y = 10, | 41 .y = 10, |
42 .w = W, | 42 .w = W, |
43 .h = H, | 43 .h = H, |
44 .align = LABEL_ALIGN_TOP_LEFT, | 44 .align = ALIGN_TOP_LEFT, |
45 .flags = LABEL_FLAGS_SHADOW | 45 .flags = LABEL_FLAGS_SHADOW |
46 }; | 46 }; |
47 | 47 |
48 static void | 48 static void |
49 init(void) | 49 init(void) |