#include "KeyInput.h"#include <ArcdpsUnofficialExtras/Definitions.h>#include <ArcdpsUnofficialExtras/KeyBindHelper.h>#include <ArcdpsUnofficialExtras/KeyBindsTranslation.h>#include <ArcdpsUnofficialExtras/KeyBindStructs.h>#include <cfloat>#include <cstddef>#include <imgui/imgui.h>#include <imgui/imgui_internal.h>#include <optional>#include <string>#include <utility>#include "ExtensionTranslations.h"#include "Localization.h"
Namespaces | |
| namespace | ImGuiEx |
Macros | |
| #define | POPUP_NAME_TEXT Localization::STranslate(ET_KeyInputPopupName) |
| #define | APPLY_TEXT Localization::STranslate(ET_ApplyButton).data() |
| #define | CANCEL_TEXT Localization::STranslate(ET_CancelButton).data() |
Functions | |
| bool | ImGuiEx::KeyCodeInputWndHandle (HWND pWindowHandle, UINT pMessage, WPARAM pAdditionalW, LPARAM pAdditionalL) |
Has to be called in mod_wnd or your specific window handler. This function only has to be called once per program. | |
| void | ImGuiEx::OpenKeyCodePopupState (const KeyBinds::Key &pKeyContainer, KeyCodeInputFlags pFlags, KeyBinds::Modifier pFixedModifier) |
| void | ImGuiEx::CloseKeyCodePopupState () |
| void | ImGuiEx::RestartKeyCodePopupState () |
| void | ImGuiEx::KeyCodeInputActiveFrame () |
| const KeyBinds::Key & | ImGuiEx::GetKeyCodeInputKeyState () |
| bool | ImGuiEx::KeyCodeInput (const char *pLabel, KeyBinds::Key &pKeyContainer, Language pLanguage, HKL pHkl, KeyCodeInputFlags pFlags=0, KeyBinds::Modifier pFixedModifier=0) |
| Show a keybind on a button. On pressing that button a popup is opened and all keyevents are used to fill the keybind. (Kind of like GW2 does it). | |
| #define APPLY_TEXT Localization::STranslate(ET_ApplyButton).data() |
| #define CANCEL_TEXT Localization::STranslate(ET_CancelButton).data() |
| #define POPUP_NAME_TEXT Localization::STranslate(ET_KeyInputPopupName) |