aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui_quest.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui_quest.hpp')
-rw-r--r--include/ui_quest.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/ui_quest.hpp b/include/ui_quest.hpp
index e06570a..1c478ca 100644
--- a/include/ui_quest.hpp
+++ b/include/ui_quest.hpp
@@ -30,12 +30,13 @@ namespace ui {
void draw(void) {
if (!_toggle)
return;
-
+
+ float z = Render::ZRange::Quest;
float top_y = offset.y + 200;
- ui::drawNiceBox(vec2 {offset.x - 200, top_y },
- vec2 {offset.x + 200, offset.y - 200 },
- -0.7f);
+ ui::drawNiceBox(vec2 {offset.x - 200, top_y }, vec2 {offset.x + 200, offset.y - 200 },
+ z);
+ FontSystem::setFontZ(z - 0.01f);
UISystem::putStringCentered(vec2(offset.x, top_y - 40), "Current Quests:");
const auto& titles = QuestSystem::getQuestTitles();
@@ -47,6 +48,7 @@ namespace ui {
//ui::putText(x + 40, y, q.desc.c_str());
//y -= 40;
}
+ FontSystem::setFontZ();
}
}
}