| 38 | void CUIProgressShape::SetTextVisible(bool b) { m_bText = b; } |
| 39 | |
| 40 | void _make_rot(Fvector2& pt, const Fvector2& src, float sin_a, float cos_a, float angle) |
| 41 | { |
| 42 | pt.x = src.x * cos_a + src.y * sin_a; |
| 43 | pt.y = src.y * cos_a - src.x * sin_a; |
| 44 | } |
| 45 | |
| 46 | float calc_color(u32 idx, u32 total, float stage, float max_stage, bool blend) |
| 47 | { |