Mercurial > molko
comparison examples/example-notify/example-notify.c @ 500:d7855791a2b8
examples: prefix mlk
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 28 Feb 2023 15:35:17 +0100 |
parents | 41267f6e344d |
children | 7f7602bae0bd |
comparison
equal
deleted
inserted
replaced
499:d3ea59fce7dc | 500:d7855791a2b8 |
---|---|
51 int err; | 51 int err; |
52 | 52 |
53 if ((err = mlk_example_init("example-notify")) < 0) | 53 if ((err = mlk_example_init("example-notify")) < 0) |
54 mlk_panicf("mlk_example_init: %s", mlk_err_string(err)); | 54 mlk_panicf("mlk_example_init: %s", mlk_err_string(err)); |
55 | 55 |
56 icon = ®istry_textures[REGISTRY_TEXTURE_SWORD]; | 56 icon = &mlk_registry_textures[MLK_REGISTRY_TEXTURE_SWORD]; |
57 } | 57 } |
58 | 58 |
59 static void | 59 static void |
60 handle(struct mlk_state *st, const union mlk_event *ev) | 60 handle(struct mlk_state *st, const union mlk_event *ev) |
61 { | 61 { |