comparison examples/example-gridmenu/example-gridmenu.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
39 static struct state *states[1]; 39 static struct state *states[1];
40 40
41 static void 41 static void
42 init(void) 42 init(void)
43 { 43 {
44 if (core_init("fr.malikania", "example-gridmenu") < 0 || ui_init() < 0) 44 if (mlk_core_init("fr.malikania", "example-gridmenu") < 0 || ui_init() < 0)
45 panic(); 45 panic();
46 if (window_open("Example - Grid menu", W, H) < 0) 46 if (window_open("Example - Grid menu", W, H) < 0)
47 panic(); 47 panic();
48 } 48 }
49 49
50 static void 50 static void
51 quit(void) 51 quit(void)
52 { 52 {
53 window_finish(); 53 window_finish();
54 ui_finish(); 54 ui_finish();
55 core_finish(); 55 mlk_core_finish();
56 } 56 }
57 57
58 static void 58 static void
59 handle(struct state *st, const union mlk_event *ev) 59 handle(struct state *st, const union mlk_event *ev)
60 { 60 {