• src/conio/sdl_con.c win32gdi.c x_events.c

    From Deuce@1:103/705 to Git commit to main/sbbs/master on Sun Jul 30 04:14:24 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/ec8f6749b6ef8ed5c94802bf
    Modified Files:
    src/conio/sdl_con.c win32gdi.c x_events.c
    Log Message:
    If ciolib_initial_scaling is less than 1.0, interpret as multiplierFor example, if it was set to 0.4, the initial scaling would be setto take at most 40% of the screen height or width (whichever issmaller) with a minimum of 1.0
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Feb 16 01:49:09 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/69a8984713c3a932edb5e1eb
    Modified Files:
    src/conio/sdl_con.c win32gdi.c x_events.c
    Log Message:
    Don't allow ciolib_initial_scaling to be less than 1.0 even if you
    do math to get there.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Mar 5 11:48:18 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/cedc67bbbd625451e8e47e08
    Modified Files:
    src/conio/sdl_con.c win32gdi.c x_events.c
    Log Message:
    Fix for SourceForge issue 134

    Translation from mouse coordinates to screen coordinates had issues
    with internal vs. external scaling and for when there are gutters
    (ie: black bars) on the edges.

    This change snaps all gutter clicks to the nearest position inside
    the window instead of discarding them, and ensures the calculations
    are correct regardless of scaling mode.

    Win32GDI mode was not tested, the only change there was to stop
    ignoring mouse positions in the gutters.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)