• src/conio/scale.c scale.h win32gdi.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Apr 30 14:20:36 2023
    Modified Files:
    src/conio/scale.c scale.h win32gdi.c
    Log Message:
    Some more GDI cleanup stuff...

    Create a proper aspect fix function
    Centre bitmap in window with correct aspect ratio
    Fix cursor at resize points
    Explicitly set high DPI awareness
    Don't snap window larger than allowed

    Since this is the newest/simplest display driver, I'm going to use
    this to decide how to do scaling in general so I can abstract that
    into shared code to ensure all drivers have the same scaling

    I haven't tested mouse on windows with black bars yet though, so I
    assume that's broken...

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