ArcdpsExtension
 
Loading...
Searching...
No Matches
ArcdpsExtension::DemoKeyBindComponent Class Referencefinal

#include <DemoKeyBindComponent.h>

Inheritance diagram for ArcdpsExtension::DemoKeyBindComponent:
Collaboration diagram for ArcdpsExtension::DemoKeyBindComponent:

Public Member Functions

 DemoKeyBindComponent (MainWindow *pMainWindow)
 
- Public Member Functions inherited from ArcdpsExtension::KeyBindComponent
 KeyBindComponent (MainWindow *pMainWindow)
 
- Public Member Functions inherited from ArcdpsExtension::ComponentBase
 ComponentBase (MainWindow *pMainWindow)
 
virtual ~ComponentBase ()
 

Protected Member Functions

KeyBinds::Key & getKeyBind () override
 
bool getCloseWithEsc () override
 
bool getCloseWithEscActive () override
 
- Protected Member Functions inherited from ArcdpsExtension::KeyBindComponent
virtual bool getKeyBindSwitch ()
 
virtual bool KeyBindPressed ()
 
virtual bool EscPressed ()
 
virtual HKL getCurrentHKL ()
 
virtual gwlanguage getCurrentLanguage ()
 

Additional Inherited Members

- Protected Attributes inherited from ArcdpsExtension::ComponentBase
MainWindowmMainWindow
 

Constructor & Destructor Documentation

◆ DemoKeyBindComponent()

ArcdpsExtension::DemoKeyBindComponent::DemoKeyBindComponent ( MainWindow pMainWindow)
inlineexplicit

Member Function Documentation

◆ 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 KeyBind this window should react on.

Implements ArcdpsExtension::KeyBindComponent.


The documentation for this class was generated from the following files: