Skip to content

Commit

Permalink
USE_SDL is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 1, 2019
1 parent dd3d9df commit d021cbb
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/gui/interface/Mouse.h
@@ -1,24 +1,6 @@

#ifdef USE_SDL

#ifdef SDL_INC
#include "SDL2/SDL_mouse.h"
#else
#include "SDL_mouse.h"
#endif

#else // USE_SDL

/* These are used for the renderer, which doesn't include the rest of SDL and only this file
* It still needs fake SDL_BUTTON_* constants to compile
*/

#define SDL_BUTTON(X) (1 << ((X)-1))
#define SDL_BUTTON_LEFT 1
#define SDL_BUTTON_MIDDLE 2
#define SDL_BUTTON_RIGHT 3
#define SDL_BUTTON_WHEELUP 4
#define SDL_BUTTON_WHEELDOWN 5

#endif // USE_SDL

0 comments on commit d021cbb

Please sign in to comment.