From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/game/client/gui/imutils_text.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/game/client/gui/imutils_text.hh') diff --git a/src/game/client/gui/imutils_text.hh b/src/game/client/gui/imutils_text.hh index 64d06a4..0d888d4 100644 --- a/src/game/client/gui/imutils_text.hh +++ b/src/game/client/gui/imutils_text.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: imutils_text.hh +// Description: Text with shadow + +#ifndef CLIENT_GUI_IMUTILS_TEXT_HH +#define CLIENT_GUI_IMUTILS_TEXT_HH #pragma once namespace imutils @@ -7,3 +14,5 @@ void text_nw(ImDrawList* list, std::string_view text, const ImVec2& pos, ImU32 c void text_wr(ImDrawList* list, std::string_view text, const ImVec2& pos, ImU32 color, ImU32 shadow, ImFont* font, float wrap); void text_wr(ImDrawList* list, std::string_view text, const ImVec2& pos, ImU32 color, ImU32 shadow, ImFont* font, float wrap, float size); } // namespace imutils + +#endif -- cgit