summaryrefslogtreecommitdiffstats
path: root/game/client/gui/imdraw_ext.hh
blob: e1475b2ad91cf8d2035dc76a27d557a0cb1753d8 (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