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

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 10, 2022 15:32:04
    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 Thursday, March 10, 2022 23:56:27
    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 Friday, March 11, 2022 14:53:32
    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 Friday, March 11, 2022 21:13:17
    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 Saturday, March 12, 2022 10:36:31
    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 Saturday, March 12, 2022 09:21:25
    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 Saturday, March 12, 2022 11:09:03
    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 Tuesday, June 18, 2024 22:40:02
    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