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

    From Deuce@VERT 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 multiplier

    For example, if it was set to 0.4, the initial scaling would be set
    to take at most 40% of the screen height or width (whichever is
    smaller) with a minimum of 1.0

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net