• src/conio/Common.gmake

    From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, May 02, 2023 22:45:00
    https://gitlab.synchro.net/main/sbbs/-/commit/f7a7f3e95cbd96fe3fc9fad4
    Modified Files:
    src/conio/Common.gmake
    Log Message:
    Eliminate GDI scaling. It's ugly and I hate it.

    Also, fix up window behaviour... allow dragging it larger and smaller,
    disable maximize, and don't allow snapping bigger or smaller than
    the user area.

    Finally, when r2y tables aren't installed, set the aspect ratio to
    xsize x ysize so all the aspect "stuff" works properly.

    With this, GDI is now the default output mode for Windows. Auto
    order is now:

    X11 -> GDI -> SDL -> Win32 Console or Curses -> ANSI

    Now that GDI is self-contained, does not require SDL, and runs in
    a window, compile as a Windows application to prevent a console
    window from opening then closing at startup. Win32 console mode
    now has to rely on AllocConsole(), which opens a new console
    window. This is likely the best choice anyway since ciolib
    absolutely destroys your console settings, so that console is even
    less useful than the normal windows console after a utility runs.

    Maybe for 2.0 I'll do a Wayland and Core Graphics driver too. :D

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, February 19, 2024 06:07:00
    https://gitlab.synchro.net/main/sbbs/-/commit/23d2b5011bb102c1d0a74660
    Modified Files:
    src/conio/Common.gmake
    Log Message:
    Use NEED_BITMAP for no fonts, not X11 | SDL

    Fixes crash when built without X11 or SDL, but with GDI (not default)

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