| 9 | #include "../object_broker.h" |
| 10 | |
| 11 | CUIEditKeyBind::CUIEditKeyBind(bool bPrim) |
| 12 | { |
| 13 | m_bPrimary = bPrim; |
| 14 | m_bEditMode = false; |
| 15 | |
| 16 | m_pAnimation = xr_new<CUIColorAnimatorWrapper>("ui_map_area_anim"); |
| 17 | m_pAnimation->Cyclic(true); |
| 18 | m_bChanged = false; |
| 19 | m_lines.SetTextComplexMode(false); |
| 20 | m_keyboard = NULL; |
| 21 | m_action = NULL; |
| 22 | } |
| 23 | CUIEditKeyBind::~CUIEditKeyBind() { delete_data(m_pAnimation); } |
| 24 | |
| 25 | u32 cut_string_by_length(CGameFont* pFont, LPCSTR src, LPSTR dst, u32 dst_size, float length) |
nothing calls this directly
no test coverage detected