• src/uifc/uifc.h uifc32.c uifcx.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Feb 10 15:32:04 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1124f51a2dc2baaaeaee3171
    Modified Files:
    src/uifc/uifc.h uifc32.c uifcx.c
    Log Message:
    Some consitifications

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Mar 10 23:56:27 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/85dce134829649151452dd14
    Modified Files:
    src/uifc/uifc.h uifc32.c uifcx.c
    Log Message:
    UIFC "list" now supports an optional left/right arrow key indicator

    Passing either WIN_LEFTKEY or WIN_RIGHTKEY in the window "mode" argument enables this new indicator in the upper right of "list" windows. These indicator arrows are mouse-clickable too (translate to the left and right arrow keys).

    We had defined uses for all 32 available WIN_* mode bits, so I extended the win mode type from 32 to 64 bits (should this now be called uifc64.c?) :-)

    Anyway, it'll be easier to add more WIN_* mode flags as needed later, but I do wonder about JavaScript support (not so great for > 31-bit integers).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Rob Swindell on Fri Mar 11 14:53:32 2022
    El 11/3/22 a las 04:56, Rob Swindell escribi¢:
    https://gitlab.synchro.net/main/sbbs/-/commit/85dce134829649151452dd14 Modified Files:
    src/uifc/uifc.h uifc32.c uifcx.c
    Log Message:
    UIFC "list" now supports an optional left/right arrow key indicator

    Passing either WIN_LEFTKEY or WIN_RIGHTKEY in the window "mode" argument enables this new indicator in the upper right of "list" windows. These indicator arrows are mouse-clickable too (translate to the left and right arrow keys).

    We had defined uses for all 32 available WIN_* mode bits, so I extended the win mode type from 32 to 64 bits (should this now be called uifc64.c?) :-)

    Anyway, it'll be easier to add more WIN_* mode flags as needed later, but I do wonder about JavaScript support (not so great for > 31-bit integers).
    ---
    ¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨ [vert/cvs/bbs].synchro.ne

    good!! Lynx style navigation could be cool!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Fri Mar 11 21:13:17 2022
    Re: Re: src/uifc/uifc.h uifc32.c uifcx.c
    By: Ragnarok to Rob Swindell on Fri Mar 11 2022 02:53 pm

    good!! Lynx style navigation could be cool!

    I haven't used Lynx all that much, or at least, not in a long long time. How is its navigation style cool?
    --
    digital man (rob)

    Sling Blade quote #17:
    Charles Bushman: A shovel just makes too goddamned much racket.
    Norco, CA WX: 58.2øF, 19.0% humidity, 0 mph N wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Sat Mar 12 10:36:31 2022
    El 12/3/22 a las 02:13, Digital Man escribi¢:
    Re: Re: src/uifc/uifc.h uifc32.c uifcx.c
    By: Ragnarok to Rob Swindell on Fri Mar 11 2022 02:53 pm

    > good!! Lynx style navigation could be cool!

    I haven't used Lynx all that much, or at least, not in a long long time. How is its navigation style cool?

    Right arrow act as Enter. When you move to right you will enter to the selected item. Left arrow act as ESC and go back

    You can activate it on Midnight Commander Options->Panels->Lynx Style Navigation to see how to this work.

    Saludos!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Andre@VERT/RDOMENTR to Ragnarok on Sat Mar 12 09:21:25 2022
    Re: Re: src/uifc/uifc.h uifc32.c uifcx.c
    By: Ragnarok to Digital Man on Sat Mar 12 2022 10:36 am

    Right arrow act as Enter. When you move to right you will enter to the selected item. Left arrow act as ESC and go back

    That would make more sense if the submenus opened to the right in a sort of column navigation, leaving the previous menu (left column) on the screen. This doesn't seem like an intuitive UI for the way Sync's curses menus display to the user.

    Doesn't really hurt anything, I guess. But my rule of thumb is that if a UI needs documentation for someone to know how a feature works, then it's probably a bad UI. But if it helps power users, then whatever.


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
  • From Digital Man@VERT to Ragnarok on Sat Mar 12 11:09:03 2022
    Re: Re: src/uifc/uifc.h uifc32.c uifcx.c
    By: Ragnarok to Digital Man on Sat Mar 12 2022 10:36 am

    El 12/3/22 a las 02:13, Digital Man escribi¢:
    Re: Re: src/uifc/uifc.h uifc32.c uifcx.c
    By: Ragnarok to Rob Swindell on Fri Mar 11 2022 02:53 pm

    > good!! Lynx style navigation could be cool!

    I haven't used Lynx all that much, or at least, not in a long long time. How is its navigation style cool?

    Right arrow act as Enter. When you move to right you will enter to the selected item. Left arrow act as ESC and go back

    You can activate it on Midnight Commander Options->Panels->Lynx Style Navigation to see how to this work.

    I don't see how that method would work with the UIFC use of those keys already. --
    digital man (rob)

    Synchronet "Real Fact" #46:
    Synchronet External X/Y/ZMODEM protocol driver (SEXYZ) was introduced in 2005 Norco, CA WX: 74.0øF, 13.0% humidity, 2 mph NNE wind, 0.00 inches rain/24hrs ---
    þ 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 Tue Jun 18 22:40:02 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/521e0f4881705555c5276b32
    Modified Files:
    src/uifc/uifc.h uifc32.c uifcx.c
    Log Message:
    Add WIN_BLANKOPTS list() option, to support options/lists with blank lines

    This requires that the option list be NULL-terminated, when used.

    For use with js_uifc.c (JS uifc.list method).

    For some reason, this exposed an issue where "(null)" would be printed for
    the last line when combined with WIN_XTR mode flag, so worked around that
    bug too.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 3 14:10:33 2020
    src/uifc uifc.h 1.94 1.95 uifc32.c 1.252 1.253 uifcx.c 1.39 1.40
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv16846

    Modified Files:
    uifc.h uifc32.c uifcx.c
    Log Message:
    uifcapi_t:
    - msg() now returns an int (e.g. 0 for OK, non-zero otherwise)
    - add msgf() a printf-style version of msg()
    - add confirm() a printf-stle yes/no dialog (returns TRUE on "Yes"/default)
    - add deny() a printf-style no/yes dialog (returns TRUE on "No"/default)
    - add yesNoOpts to allow application to over-ride "Yes"/"No" strings.


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