summaryrefslogtreecommitdiffstats
path: root/game/client/imdraw_ext.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/client/imdraw_ext.cc
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/client/imdraw_ext.cc')
-rw-r--r--game/client/imdraw_ext.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/client/imdraw_ext.cc b/game/client/imdraw_ext.cc
index 3423fb4..920063e 100644
--- a/game/client/imdraw_ext.cc
+++ b/game/client/imdraw_ext.cc
@@ -1,9 +1,10 @@
#include "client/pch.hh"
+
#include "client/imdraw_ext.hh"
#include "client/globals.hh"
-void imdraw_ext::text_shadow(const std::string &text, const ImVec2 &position, ImU32 text_color, ImU32 shadow_color, ImFont *font, ImDrawList *draw_list)
+void imdraw_ext::text_shadow(const std::string& text, const ImVec2& position, ImU32 text_color, ImU32 shadow_color, ImFont* font, ImDrawList* draw_list)
{
const auto shadow_position = ImVec2(position.x + 0.5f * globals::gui_scale, position.y + 0.5f * globals::gui_scale);
draw_list->AddText(font, font->FontSize, shadow_position, shadow_color, text.c_str(), text.c_str() + text.size());