• exec/load/dd_lightbar_menu.js

    From nightfox@VERT to CVS commit on Sunday, February 09, 2020 11:15:02
    exec/load dd_lightbar_menu.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15577

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    New function: AddAdditionalSelectItemKeys(), which adds additional keys that can be used to select any item (in addition to Enter). This function takes an array, and the keys are case-sensitive. For example, to add the key E to select any item (assuming the menu object is lbMenu):
    lbMenu.AddAdditionalSelectItemKeys(["E"]);
    To make a case-insensitive verison, both the uppercase and lowercase letter would need to be added, as in the following example for E:
    lbMenu.AddAdditionalSelectItemKeys(["E", "e"]);

    Also, after showing the menu & getting a value from the user (using the GetVal() function), the lastUserInput property will have the user's last keypress.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sunday, February 09, 2020 11:53:09
    Re: exec/load/dd_lightbar_menu.js
    By: nightfox to CVS commit on Sun Feb 09 2020 11:15 am

    exec/load dd_lightbar_menu.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15577

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    New function: AddAdditionalSelectItemKeys(), which adds additional keys that can be used to select any item (in addition to Enter). This function takes an array, and the keys are case-sensitive. For example, to add the key E to

    An array of strings is an odd way to represent an array of keys. Is each only only one character? If so, then a string is the normal way to represent an array of characters.

    digital man

    This Is Spinal Tap quote #8:
    Derek Smalls: Making a big thing out of it would have been a good idea.
    Norco, CA WX: 56.7F, 70.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sunday, February 09, 2020 20:05:37
    Re: exec/load/dd_lightbar_menu.js
    By: Digital Man to nightfox on Sun Feb 09 2020 11:53 am

    An array of strings is an odd way to represent an array of keys. Is each only only one character? If so, then a string is the normal way to represent an array of characters.

    I suppose that's true. I should probably change it as such.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Sunday, February 09, 2020 20:38:58
    exec/load dd_lightbar_menu.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3623

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    AddAdditionalSelectItemKeys() now takes a string specifying additional keys rather than an array of strings. For instance, if you want both lowercase 'e' and uppercase 'E' to allow selecting an item, the call would look like this (assuming lbMenu is the menu object):
    lbMenu.AddAdditionalSelectItemKeys("eE");

    Also, changed AddAdditionalQuitKeys() to work the same way.

    Note: If you are using SlyVote, you will need to also update SlyVote, since SlyVote has also been updated to call AddAdditionalQuitKeys() this way.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tuesday, December 07, 2021 22:24:57
    https://gitlab.synchro.net/main/sbbs/-/commit/bfcf6d24ef50ee585cd40778
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Made a fix (kludge?) to properly write menu items with the check character (multi-selected) in a borderless menu (vs. a menu with borders).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, December 07, 2021 22:24:57
    https://gitlab.synchro.net/main/sbbs/-/commit/bf968208bdb1b35f58f0c472
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'ddLightBarMenuMultiSelectDrawFix' into 'master'

    dd_lightbar_menu: Made a fix (kludge?) to properly write menu items with the check character

    See merge request main/sbbs!127

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tuesday, December 14, 2021 14:58:38
    https://gitlab.synchro.net/main/sbbs/-/commit/2e9cd51bfa18b60fa0c90dcb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Better handling of ESC key input if mouse support is disabled

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, December 14, 2021 14:58:38
    https://gitlab.synchro.net/main/sbbs/-/commit/5a5882607b77733cc780d14e
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_nomoues_traditional_input' into 'master'

    Better handling of ESC key input if mouse support is disabled

    See merge request main/sbbs!130

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Friday, March 18, 2022 18:09:05
    https://gitlab.synchro.net/main/sbbs/-/commit/fedbf8a3190e5ee3e270c4e9
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightarMenu: For numbered mode, implemented a fix for refreshing the
    menu after the user types an item number to select/highlight it. Also,
    added 2 new color settings to specify the color to use for writing the
    item numbers: itemNumColor (for non-highlighted items) and highlightedItemNumColor
    (for the current highlighted item).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, March 18, 2022 18:09:05
    https://gitlab.synchro.net/main/sbbs/-/commit/0b34b299a7ffcf690e22025d
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_numbered_mode_draw_update' into 'master'

    DDLightarMenu: Numbered mode item refresh fix & new item number colors

    See merge request main/sbbs!164

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Monday, March 28, 2022 22:28:36
    https://gitlab.synchro.net/main/sbbs/-/commit/f70fc096d4dfe921b83dcaeb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu OnItemNav on initial display
    DDLightbarMenu can now optionally call its OnItemNav function when
    it's first displayed. By default this behavior is disabled, but it
    can be enabled by setting the (new) callOnItemNavOnStartup property
    to true.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, March 28, 2022 22:28:36
    https://gitlab.synchro.net/main/sbbs/-/commit/e635293c543482325848bcf6
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_onItemNav_startup' into 'master'

    DDLightbarMenu OnItemNav on initial display

    See merge request main/sbbs!168

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sunday, September 11, 2022 15:53:28
    https://gitlab.synchro.net/main/sbbs/-/commit/1cf014fde99be6cf6f042449
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Removed temporary debug code that accidentally made it in last commit

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, September 11, 2022 15:53:28
    https://gitlab.synchro.net/main/sbbs/-/commit/8b60053e50ed16d80ca2feef
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_remove_temp_debug_code' into 'master'

    Removed temporary debug code that accidentally made it in last commit

    See merge request main/sbbs!208

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Monday, January 09, 2023 15:14:07
    https://gitlab.synchro.net/main/sbbs/-/commit/7a8f1d0284846f2445b38868
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 09, 2023 15:14:07
    https://gitlab.synchro.net/main/sbbs/-/commit/f0c06c075ce41c161a9e3562
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_scroll_home_fix' into 'master'

    DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen

    See merge request main/sbbs!239

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sunday, October 08, 2023 21:59:16
    https://gitlab.synchro.net/main/sbbs/-/commit/bcf709306a0b6bea4d44a7a1
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, October 08, 2023 21:59:16
    https://gitlab.synchro.net/main/sbbs/-/commit/1114452e300923c75f9798af
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_refactor_and_additional_nav_keys' into 'master'

    dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.

    See merge request main/sbbs!343

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Friday, October 13, 2023 18:13:12
    https://gitlab.synchro.net/main/sbbs/-/commit/2ee1708213443c351d849592
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Fix for substrWithAttrCodes(): If the given length is 0, then just return an empty string

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, October 13, 2023 18:13:12
    https://gitlab.synchro.net/main/sbbs/-/commit/9510160bc1a956f55a38387c
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_len_0' into 'master'

    dd_lightbar_menu.js: Fix for substrWithAttrCodes(): If the given length is 0, then just return an empty string

    See merge request main/sbbs!348

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Friday, October 27, 2023 23:40:48
    https://gitlab.synchro.net/main/sbbs/-/commit/be70a5a50abe59ad11dfd050
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Length off-by-1 fix in substrWithAttrCodes()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, October 27, 2023 23:40:48
    https://gitlab.synchro.net/main/sbbs/-/commit/0e534632cf64996112c4df14
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_len_fix' into 'master'

    dd_lightbar_menu.js: Length off-by-1 fix in substrWithAttrCodes()

    See merge request main/sbbs!354

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sunday, December 03, 2023 18:29:01
    https://gitlab.synchro.net/main/sbbs/-/commit/d0e44c97c7a27c9e9f3fd37b
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Fix to enable wrap navigation again, and fixed a comment about titlebar text

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 03, 2023 18:29:01
    https://gitlab.synchro.net/main/sbbs/-/commit/afa151a0928b2230de89dab2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_nav_wrap_fix_and_title_text_comment_fix' into 'master'

    DDLightbarMenu: Fix to enable wrap navigation again, and fixed a comment about titlebar text

    See merge request main/sbbs!371

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Sunday, December 03, 2023 18:42:18
    https://gitlab.synchro.net/main/sbbs/-/commit/27d14565a4ec71fd6c0544f2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:main/sbbs

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