diff libadventure/adventure/trace_hud.c @ 148:c577c15df07f

misc: split libraries, closes #2496
author David Demelier <markand@malikania.fr>
date Thu, 15 Oct 2020 10:32:18 +0200
parents 7f1af54bb35a
children a43e79d489ea
line wrap: on
line diff
--- a/libadventure/adventure/trace_hud.c	Thu Oct 15 09:21:04 2020 +0200
+++ b/libadventure/adventure/trace_hud.c	Thu Oct 15 10:32:18 2020 +0200
@@ -20,10 +20,12 @@
 #include <stdio.h>
 #include <string.h>
 
-#include <core/label.h>
 #include <core/font.h>
-#include <core/theme.h>
 #include <core/trace.h>
+#include <core/window.h>
+
+#include <ui/label.h>
+#include <ui/theme.h>
 
 #include "trace_hud.h"
 
@@ -98,7 +100,7 @@
 			.y = y,
 			.text = data.lines[i],
 			.theme = th,
-			.flags = LABEL_ALIGN_LEFT
+			.align = LABEL_ALIGN_TOP_LEFT
 		});
 
 		y += font_height(th->fonts[THEME_FONT_INTERFACE]);