Mercurial > molko
comparison examples/example-cursor/example-cursor.c @ 462:5729efd23286
core: core -> mlk_core
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Feb 2023 09:52:55 +0100 |
parents | 541cb950997b |
children | 01f5580e43d1 |
comparison
equal
deleted
inserted
replaced
461:d7874f11565f | 462:5729efd23286 |
---|---|
47 }; | 47 }; |
48 | 48 |
49 static void | 49 static void |
50 init(void) | 50 init(void) |
51 { | 51 { |
52 if (core_init("fr.malikania", "example-cursor") < 0 || ui_init() < 0) | 52 if (mlk_core_init("fr.malikania", "example-cursor") < 0 || ui_init() < 0) |
53 panic(); | 53 panic(); |
54 if (window_open("Example - Cursor", W, H) < 0) | 54 if (window_open("Example - Cursor", W, H) < 0) |
55 panic(); | 55 panic(); |
56 } | 56 } |
57 | 57 |
131 static void | 131 static void |
132 quit(void) | 132 quit(void) |
133 { | 133 { |
134 window_finish(); | 134 window_finish(); |
135 ui_finish(); | 135 ui_finish(); |
136 core_finish(); | 136 mlk_core_finish(); |
137 } | 137 } |
138 | 138 |
139 int | 139 int |
140 main(int argc, char **argv) | 140 main(int argc, char **argv) |
141 { | 141 { |