1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef CLIENT_IMDRAW_EXT_HH
#define CLIENT_IMDRAW_EXT_HH 1
#pragma once
namespace gui::imdraw_ext
{
void text_shadow(const std::string& text, const ImVec2& position, ImU32 text_color, ImU32 shadow_color, ImFont* font,
ImDrawList* draw_list);
void text_shadow(const std::string& text, const ImVec2& position, ImU32 text_color, ImU32 shadow_color, ImFont* font, ImDrawList* draw_list,
float font_size);
} // namespace gui::imdraw_ext
namespace gui::imdraw_ext
{
void text_shadow_w(const std::string& text, const ImVec2& position, ImU32 text_color, ImU32 shadow_color, ImFont* font,
ImDrawList* draw_list, float wrap_width);
void text_shadow_w(const std::string& text, const ImVec2& position, ImU32 text_color, ImU32 shadow_color, ImFont* font,
ImDrawList* draw_list, float font_size, float wrap_width);
} // namespace gui::imdraw_ext
#endif // CLIENT_IMDRAW_EXT_HH
|