Mercurial > molko
comparison examples/example-ui/main.c @ 241:76afe639fd72
misc: add support for NLS, closes #22510 @4h
While here cleanup the path functions in sys.c/sys.h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 28 Nov 2020 18:00:05 +0100 |
parents | 23a844fdc911 |
children | 196264679079 |
comparison
equal
deleted
inserted
replaced
240:d7e5e02f70a1 | 241:76afe639fd72 |
---|---|
127 }; | 127 }; |
128 | 128 |
129 static void | 129 static void |
130 init(void) | 130 init(void) |
131 { | 131 { |
132 if (!core_init() || !ui_init()) | 132 if (!core_init("fr.malikania", "ui") || !ui_init()) |
133 panic(); | 133 panic(); |
134 if (!window_open("Example - UI", W, H)) | 134 if (!window_open("Example - UI", W, H)) |
135 panic(); | 135 panic(); |
136 } | 136 } |
137 | 137 |