EventThread: Make system cursor visible over black aspect ratio bars
Should be less confusing for the player.
This commit is contained in:
parent
60e967e3b7
commit
3ea24bd757
3 changed files with 47 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue