MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CUIEditKeyBind

Method CUIEditKeyBind

ogsr_engine/xrGame/ui/UIEditKeyBind.cpp:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include "../object_broker.h"
10
11CUIEditKeyBind::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}
23CUIEditKeyBind::~CUIEditKeyBind() { delete_data(m_pAnimation); }
24
25u32 cut_string_by_length(CGameFont* pFont, LPCSTR src, LPSTR dst, u32 dst_size, float length)

Callers

nothing calls this directly

Calls 2

CyclicMethod · 0.45
SetTextComplexModeMethod · 0.45

Tested by

no test coverage detected