• exec/load/dd_lightbar_menu.js

    From nightfox@VERT to CVS commit on Tue May 5 19:50:15 2020
    exec/load dd_lightbar_menu.js 1.21 1.22
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv10433

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now uses KEY_PAGEUP and KEY_PAGEDN, as defined by key_defs.js rather than using its own pageup/pagedown variable definitions as it was doing before. Also, fixed some weirdness & improved the apperance when selecting & de-selecting items in multi-select mode when using color arrays to color the items.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Wed May 6 21:40:14 2020
    exec/load dd_lightbar_menu.js 1.22 1.23
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv1466

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now includes mouse support. A mouse click on an item in the menu will make it the currently highlighted item, and if the scrollbar is enabled, clicking above/below the solid scroll block will do a page up/down.
    I'm wondering if there's a function (other than time()) that has higher resolution than 1 second (perhaps milliseconds?) so I can detect a double-click in a short amount of time (to perhaps add an item when multi-select is enabled).
    I also saw the 'motion' variable, and I'm wondering if that coudl be used to detect mouse motion when the button is pressed (so that the menu can scroll when the mouse is moved while the mouse button is pressed over the scroll block).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to nightfox on Thu May 7 01:15:07 2020
    Re: exec/load/dd_lightbar_menu.js
    By: nightfox to CVS commit on Wed May 06 2020 21:40:14

    do a page up/down. I'm wondering if there's a function (other than time()) that has higher
    resolution than 1 second (perhaps milliseconds?) so I can detect a double-click in a short amount of

    The system.timer property provides this. Fractional seconds after the decimal point, IIRC.

    (Or you could do (new Date()).getTime(), but the former is probably faster.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From nightfox@VERT to CVS commit on Thu May 7 21:49:10 2020
    exec/load dd_lightbar_menu.js 1.23 1.24
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv11218

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    A double-click of the mouse button now selects an item on the menu if multi-select is enabled. A double-click is detected if 2 mouse clicks happen within 0.4 seconds (arbitrarily chosen).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tue Dec 7 22:24:57 2021
    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 Tue Dec 7 22:24:57 2021
    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 Tue Dec 14 14:58:38 2021
    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 Tue Dec 14 14:58:38 2021
    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 Fri Mar 18 18:09:05 2022
    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 Fri Mar 18 18:09:05 2022
    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 Mon Mar 28 22:28:36 2022
    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 Mon Mar 28 22:28:36 2022
    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 Sun Sep 11 15:53:28 2022
    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 Sun Sep 11 15:53:28 2022
    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 Thu Jun 27 14:43:53 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b6c58742dad53585161361eb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu: str_is_utf8() seems to return true sometimes when a string doesn't have UTF-8, so that is now commented out for now

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Jun 27 14:43:53 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/654b6f76d462f885147cc32e
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_text_is_utf8_dont_use_str_is_utf8' into 'master'

    dd_lightbar_menu: str_is_utf8() seems to return true sometimes when a string doesn't have UTF-8, so that is now commented out for now

    See merge request main/sbbs!440

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sat Jun 29 17:10:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d3792caafc3640f2fe1cfc1a
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Fixed text truncation issue when displaying item text when we know it's UTF-8

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jun 29 17:10:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/61049cd7f5e421542d57147d
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_write_item_utf8_improvement' into 'master'

    dd_lightbar_menu.js: Fixed text truncation issue when displaying item text when we know it's UTF-8

    See merge request main/sbbs!441

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Wed Sep 4 23:27:18 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/806593aca6d931349d2b789e
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Fix for out-of-bounds row updates when updating the scrollbar in DDLightbarMenu_UpdateScrollbar()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Sep 4 23:27:18 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/320bd3658625014bed5a4a58
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_UpdateScrollbar_RowOutOfRange_Fix' into 'master'

    dd_lightbar_menu.js: Fix for out-of-bounds row updates when updating the scrollbar in DDLightbarMenu_UpdateScrollbar()

    See merge request main/sbbs!457

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