EventThread: Make system cursor visible over black aspect ratio bars

Should be less confusing for the player.
This commit is contained in:
Jonas Kulla 2017-04-08 16:16:36 +02:00
parent 60e967e3b7
commit 3ea24bd757
3 changed files with 47 additions and 10 deletions

View file

@ -98,12 +98,16 @@ public:
/* RGSS thread calls this once per frame */
void notifyFrame();
/* Called on game screen (size / offset) changes */
void notifyGameScreenChange(const SDL_Rect &screen);
private:
static int eventFilter(void *, SDL_Event*);
void resetInputStates();
void setFullscreen(SDL_Window *, bool mode);
void updateCursorState(bool inWindow);
void updateCursorState(bool inWindow,
const SDL_Rect &screen);
bool fullscreen;
bool showCursor;