aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-16 20:52:43 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-16 20:52:43 +0100
commit8abc6008880dd9ed0c16a68a126b49f0eb03caa2 (patch)
tree98bf7773f81d9896df6c17a7d662dd6f4380023f /src/crepe/api
parent56342ffab9daade7802b015ac83b9c47a8b9b18b (diff)
fonting
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Config.h2
-rw-r--r--src/crepe/api/Text.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h
index 47a81b7..c20287d 100644
--- a/src/crepe/api/Config.h
+++ b/src/crepe/api/Config.h
@@ -26,7 +26,7 @@ struct Config final {
*
* Only messages with equal or higher priority than this value will be logged.
*/
- Log::Level level = Log::Level::INFO;
+ Log::Level level = Log::Level::DEBUG;
/**
* \brief Colored log output
*
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp
index 5b2befe..07d1705 100644
--- a/src/crepe/api/Text.cpp
+++ b/src/crepe/api/Text.cpp
@@ -1,4 +1,5 @@
#include "../facade/FontFacade.h"
+#include "util/Log.h"
#include "Text.h"
@@ -9,4 +10,6 @@ Text::Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
: UIObject(id, dimensions, offset),
text(text),
data(data),
- font(FontFacade::get_font_asset(font_family)) {}
+ font(FontFacade::get_font_asset(font_family)) {
+ dbg_trace();
+}