diff options
Diffstat (limited to 'src/PowderToySDL.cpp')
| -rw-r--r-- | src/PowderToySDL.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 4b50a24..48a77b2 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -20,6 +20,9 @@ #ifndef WIN #include <unistd.h> #endif +#ifdef MACOSX +#include <ApplicationServices/ApplicationServices.h> +#endif #include "Format.h" #include "Style.h" @@ -540,6 +543,11 @@ void EngineProcess() #endif } +int GetModifiers() +{ + return SDL_GetModState(); +} + int main(int argc, char * argv[]) { currentWidth = XRES+BARSIZE; |
