summaryrefslogtreecommitdiffstats
path: root/src/game/client/gui/imdraw_ext.hh
blob: a7e150347c7cfa97d59f0cd396a766c494d1570f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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