Project

General

Profile

Bug #434

Mouse position coordinates not correct when screen or window is resized

Added by malcolm harvey over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
AOZ Studio Team
Target version:
Start date:
08/05/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Prob using xm & ym coordinates or reading the same mouse position from 0,0 to screen width and screen height
should be same no matter how wide or high the screen or rather window is resized.

ie:

xm=X Mouse
ym=Y Mouse

xm and ym hold mouse coordinate but then when window resizes, the coordinate system of course changes and becomes no good always diff.
It should keep the same thing no matter what size for mapping systems on screen or for mouse clicks etc.
eg: coord checking of 0-319hor and 0-255ver eg: for a 320 x 256 screen regardless of window size on screen or full screen as this is just scaling
should not effect it.

#1

Updated by Baptiste Bideaux over 3 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.9.4-r2
#2

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF