#include <DemoKeyBindComponent.h>
◆ DemoKeyBindComponent()
ArcdpsExtension::DemoKeyBindComponent::DemoKeyBindComponent |
( |
MainWindow * |
pMainWindow | ) |
|
|
inlineexplicit |
◆ getCloseWithEsc()
bool ArcdpsExtension::DemoKeyBindComponent::getCloseWithEsc |
( |
| ) |
|
|
overrideprotectedvirtual |
Close this window with a single press of ESC. This function is checked everytime ESC is pressed and the window is open. Use this to add additional checks, e.g. if arcdps is is hidden and more. return true
if closing should be done.
Reimplemented from ArcdpsExtension::KeyBindComponent.
◆ getCloseWithEscActive()
bool ArcdpsExtension::DemoKeyBindComponent::getCloseWithEscActive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
This variable is only checked once, it should be true
, if this feature is planned to be used. If this is false
, the ESC key is never checked and therefore nothing will work.
Reimplemented from ArcdpsExtension::KeyBindComponent.
◆ getKeyBind()
KeyBinds::Key & ArcdpsExtension::DemoKeyBindComponent::getKeyBind |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: