• src/uifc/uifc.h uifc32.c

    From Rob Swindell (on ChromeOS@VERT to Git commit to main/sbbs/master on Tuesday, February 21, 2023 20:30:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3a2c90b237cdc5e7d9b4937f
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add input K_TRIM and K_NOSPACE mode flags

    K_TRIM causes leading and trailing whitespace to be trimmed.
    K_NOSPACE disallows any whitespace characters to be added to the string.

    Previously, trailing whitespace was always trimmed. Now, only do that
    if/when K_TRIM is specified.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS@VERT to Git commit to main/sbbs/master on Tuesday, February 21, 2023 20:30:00
    https://gitlab.synchro.net/main/sbbs/-/commit/d8dfa611ae0c009ea16fa9d8
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add uifcapi_t.kmode that can be used to set global key-input mode flags

    e.g. this a way to set the K_TRIM mode globally for all keyboard input

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Thursday, May 25, 2023 18:54:00
    https://gitlab.synchro.net/main/sbbs/-/commit/016a382b3800d13d9b2528a6
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Support narrower (e.g. < 80 column) screen modes better

    Maximize screen realestate for options/settings display:
    - Don't place a margin around windows when in a narrow screen mode.
    - Don't display shadows on windows when in a narrow screen mode.

    This commit also fixes a bug in uinput() when left was non-zero and the total width (left + width) would be too wide for the screen. This bug was apparent in SCFG->Message Areas in 50 column mode (no Message Group window would be displayed when a message group was selected).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Thursday, May 25, 2023 18:54:00
    https://gitlab.synchro.net/main/sbbs/-/commit/877deacbf061991269507494
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Change win_t.buf to a void* (avoid a lot of typecasting)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Monday, June 17, 2024 20:38:00
    https://gitlab.synchro.net/main/sbbs/-/commit/de7b2c60c257a8b9298f1a0d
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add suport for option/item tagging using the WIN_TAG ulist() mode flag

    For use with fileman.js:

    The space bar can be used by the user to "tag" items, or Ctrl-A to toggle
    tag status for *all* items. Returns MSK_TAG|with the option tagged/untagged
    or MSG_TAGALL when all tags are being toggled (via ^A).

    Also, fix bug where ^Find command would not restore the status bar after ulist() would overwrite it with the string-input/edit hot-keys available.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Friday, June 21, 2024 00:26:00
    https://gitlab.synchro.net/main/sbbs/-/commit/1c85a913ca99a8897a164f7d
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Introduce a restore() uifc_api method for restoring a saved window buffer

    This allows for menu options on an "active" list (with both WIN_SAVE and WIN_ACT mode flags) to close the window and restore the most recently saved window.

    Also, for the range check on the save buffer count in ulist(), if we've
    hit the bounds, don't *just* beep (though, that was useful), but turn off the WIN_SAV mode flag so we don't overflow the sav[] array and corrupt the heap!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, September 26, 2024 14:49:54
    https://gitlab.synchro.net/main/sbbs/-/commit/1cc56f5e6c1f2e4fd9286a62
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add uifcapi_t.reverse_cursor (BOOL), default is FALSE

    Setting this to TRUE reverses the type of cursor used to indicate insert
    versus overwrite mode (solid/block cursor veruss underline/normal cursor). Deuce probably wants to set this to TRUE for SyncTERM.

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