void HandleMotionEvent(MotionEvent *event)
{
- if (!PointerInWindow(window))
- return; /* window and pointer are on different screens */
-
if (button_status == MB_RELEASED && game_status != GAME_MODE_EDITOR)
return;
#endif
}
-boolean PointerInWindow(DrawWindow *window)
-{
- return TRUE;
-}
-
boolean SetVideoMode(boolean fullscreen)
{
return SDLSetVideoMode(&backbuffer, fullscreen);
void KeyboardAutoRepeatOn(void);
void KeyboardAutoRepeatOff(void);
-boolean PointerInWindow(DrawWindow *);
boolean SetVideoMode(boolean);
boolean ChangeVideoModeIfNeeded(boolean);
{
if (event.type == EVENT_MOTIONNOTIFY)
{
- if (!PointerInWindow(window))
- continue; /* window and pointer on different screens */
-
if (!button_status)
continue;