MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Decode3DControlText

Function Decode3DControlText

engine/Poseidon/UI/Controls/UIControls3D.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62#define DrawLeft(i, color) GLOB_ENGINE->DrawLine(Line2DPixel(xx + i, yy + hh - 1 - i, xx + i, yy + i), color, color);
63#define DrawTop(i, color) GLOB_ENGINE->DrawLine(Line2DPixel(xx + i, yy + i, xx + ww - 1 - i, yy + i), color, color);
64
65static RString Decode3DControlText(RString text)
66{
67 return Poseidon::DecodeLegacyTextToRString(text, GLanguage);
68}
69
70inline PackedColor ModAlpha(PackedColor color, float alpha)

Callers 2

SetTextMethod · 0.85
C3DEditMethod · 0.85

Calls 1

Tested by

no test coverage detected