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