ArcdpsExtension
Loading...
Searching...
No Matches
DemoKeyBindComponent.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../KeyBindComponent.h"
4
5
namespace
ArcdpsExtension
{
6
class
DemoKeyBindComponent
final :
public
KeyBindComponent
{
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
ArcdpsExtension::DemoKeyBindComponent
Definition
DemoKeyBindComponent.h:6
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:8
ArcdpsExtension::DemoKeyBindComponent::getCloseWithEscActive
bool getCloseWithEscActive() override
Definition
DemoKeyBindComponent.h:14
ArcdpsExtension::KeyBindComponent
Definition
KeyBindComponent.h:11
ArcdpsExtension::MainWindow
Definition
MainWindow.h:22
ArcdpsExtension
Definition
ArcdpsExtension.h:10
Windows
Demo
DemoKeyBindComponent.h
Generated by
1.9.8