ArcdpsExtension
 
Loading...
Searching...
No Matches
DemoKeyBindComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "../KeyBindComponent.h"
4
5namespace ArcdpsExtension {
7 public:
8 explicit DemoKeyBindComponent(MainWindow* pMainWindow)
9 : KeyBindComponent(pMainWindow) {}
10
11 protected:
12 KeyBinds::Key& getKeyBind() override;
13 bool getCloseWithEsc() override;
14 bool getCloseWithEscActive() override { return true; };
15
16 private:
17 KeyBinds::Key mKeyBind;
18 };
19} // namespace ArcdpsExtension
Definition DemoKeyBindComponent.h:6
bool getCloseWithEsc() override
Definition DemoKeyBindComponent.cpp:7
KeyBinds::Key & getKeyBind() override
Definition DemoKeyBindComponent.cpp:3
DemoKeyBindComponent(MainWindow *pMainWindow)
Definition DemoKeyBindComponent.h:8
bool getCloseWithEscActive() override
Definition DemoKeyBindComponent.h:14
Definition KeyBindComponent.h:11
Definition MainWindow.h:22
Definition ArcdpsExtension.h:10