• src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h

    From deuce@VERT to CVS commit on Wednesday, April 01, 2020 14:40:19
    src/conio sdl_con.c 1.269 1.270 sdlfuncs.c 1.43 1.44 sdlfuncs.h 1.25 1.26 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15203

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Add key bindings to perform integer scaling steps, and use integer scaling
    when such a size is selected.

    META-<arrow> keys now change the window size in SDL mode... left and up
    make the window smaller, and down and right make it larger.

    On Windows, the META key is the Windows key... On Apple systems, maybe it's
    the Apple key? *shrug*



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thursday, April 02, 2020 17:22:18
    src/conio sdl_con.c 1.274 1.275 sdlfuncs.c 1.45 1.46 sdlfuncs.h 1.27 1.28 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv8701/conio

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Set window minimum size to 1x scaling, update internal copy of window size
    when the window is resized (fixes mouse offsets).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 03, 2020 01:34:58
    src/conio sdl_con.c 1.275 1.276 sdlfuncs.c 1.47 1.48 sdlfuncs.h 1.28 1.29 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19658/conio

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Remove platform-specific copy/paste code and use SDL2 copy/paste code instead. This means I needed to whip up utf-8 <-> cp437 converters.

    Only loss of functionality is that we can't paste NULs anymore. We can
    *copy* them though, they are converted to zero-width non-breaking spaces.

    Depending on feedback, I may need to normalize the UTF-8 before conversion
    to get the most matches, and zero-width/combining codepoints should likely
    be stripped instead of replaced, but I'm not overly worried about it.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 03, 2020 10:45:19
    src/conio sdl_con.c 1.276 1.277 sdlfuncs.c 1.48 1.49 sdlfuncs.h 1.29 1.30 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30340

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Update to new mutex function names.
    Win32 can no longer exit() and WinExec() itself with impunity.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Prime@VERT/RETROCON to deuce on Friday, April 10, 2020 08:37:13
    Re: src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    By: deuce to CVS commit on Wed Apr 01 2020 02:40 pm

    On Windows, the META key is the Windows key... On Apple systems, maybe it's the Apple key? *shrug*

    It should be the "Option" key I believe.

    ---
    þ Synchronet þ Retro Connect BBS