Browse Source
* Added a stub SDL2 event handler class. * Changed gitignore entry from version.h to PlipVersion.h. * Switched to using unordered_map to track inputs.master
Ian Burgmyer
4 years ago
10 changed files with 60 additions and 21 deletions
@ -1,4 +1,4 @@
|
||||
.idea |
||||
cmake-build-*/ |
||||
version.h |
||||
libplip/PlipVersion.h |
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
#pragma once |
||||
|
||||
#define PRODUCT_NAME "Plip" |
||||
#define BIN_NAME "plip" |
||||
|
||||
#define GIT_FOUND |
||||
#define GIT_BRANCH "master" |
||||
#define GIT_REVISION "e43f14f" |
||||
/* #undef GIT_TAG */ |
@ -0,0 +1,9 @@
|
||||
/* SdlEvent.cpp
|
||||
* |
||||
* An SDL2 event handler. |
||||
*/ |
||||
|
||||
#include "SdlEvent.h" |
||||
|
||||
namespace PlipSdl { |
||||
} |
@ -0,0 +1,15 @@
|
||||
/* SdlEvent.h
|
||||
* |
||||
* An SDL2 event handler. |
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#include "PlipInput.h" |
||||
|
||||
namespace PlipSdl { |
||||
class SdlEvent : protected Plip::PlipInput { |
||||
public: |
||||
SdlEvent() = default; |
||||
}; |
||||
} |
Loading…
Reference in new issue