13class PlayerInputEditor
28 std::string mSourceAssetName;
29 int mSelectedActionIndex = -1;
30 char mNewCategory[64] = {};
31 char mNewActionName[64] = {};
34 bool mCapturing =
false;
35 int mCaptureBindingSlot = -1;
36 float mCaptureTimer = 0.0f;
39 enum class PopupMode {
None, Rename, DuplicateTo, MoveTo, DuplicateCategory };
40 PopupMode mPopupMode = PopupMode::None;
41 int mPopupActionIndex = -1;
42 char mPopupCategory[64] = {};
43 char mPopupName[64] = {};
44 std::string mPopupSourceCategory;
47 bool mHasClipboard =
false;
50 void DrawActionList();
51 void DrawActionDetails();
52 void DrawCaptureOverlay();
53 void DrawActionContextMenu(
int actionIndex);
54 void DrawCategoryContextMenu(
const std::string& category);
55 void DrawPopupModal();
56 void DuplicateAction(
int actionIndex, std::string toCategory, std::string newName);
57 void PasteAction(
const std::string& toCategory,
bool overrideExisting);
60PlayerInputEditor* GetPlayerInputEditor();