• exec/load/dd_lightbar_menu.js

    From nightfox@VERT to CVS commit on Sun Apr 12 01:20:44 2020
    exec/load dd_lightbar_menu.js 1.19 1.20
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8277

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    The new property nextDrawOnlyItems is an array that contains indexes for specific items to be written the next time the menu is drawn. It can be used as a display optimization; for example, if the menu is redrawn in an input loop in the calling code and the selected item changed on the same 'page' on the menu, then the calling code can add the indexes of the 2 items to redraw the next the the menu is drawn so that the menu will only refresh those 2 items on the screen rather than the whole page of items.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Mon Apr 13 16:30:10 2020
    exec/load dd_lightbar_menu.js 1.20 1.21
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv12955

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Screen refresh optimization: Only do PageUp and PageDown if not already at the top or bottom of the menu items. If already there, don't redraw the menu items.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • 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 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
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sat Nov 30 22:28:36 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d88c443568ac8c094137a4ec
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: When clearing the remainder of the screen after drawing the menu, ensure the console attributes are reset. Also, refactored that section of code.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Nov 30 22:28:36 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e95618521c9d3f86cd59a27c
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_clear_after_menu_draw_fix' into 'master'

    DDLightbarMenu: When clearing the remainder of the screen after drawing the menu, ensure the console attributes are reset. Also, refactored that section of code.

    See merge request main/sbbs!478

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Jan 24 19:56:37 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7181168590bfe2741c466840
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Remove the inputTimeoutMS property; use console.inactivity_hangup instead.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jan 24 19:56:37 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/622273166edd7942dc2d7fc2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_use_console_inactivity_hangup' into 'master'

    DDLightbarMenu: Remove the inputTimeoutMS property; use console.inactivity_hangup instead.

    See merge request main/sbbs!492

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sat Mar 1 15:10:30 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c42f0f9a458d9f3c8d0b6afb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: For numbered mode (no lightbar), allow 1 mor character when using substr with the item text

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Mar 1 15:10:30 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d1b2b0284d3549051738c30d
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_numbered_mode_substr_1_longer' into 'master'

    DDLightbarMenu: For numbered mode (no lightbar), allow 1 mor character when using substr with the item text

    See merge request main/sbbs!516

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Wed Mar 5 11:07:05 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0d3726b59fe9acf0de64e035
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: AdditionalQuitKeys now are honored in traditional (non-lightbar) mode, and there's a new menu property, nonANSIPromptText, which allows customization of the prompt text when in traditional/non-ANSI mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 5 11:07:05 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/93d71feb53424a90202a4cbe
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_non_ansi_input_update' into 'master'

    DDLightbarMenu: AdditionalQuitKeys now are honored in traditional (non-lightbar) mode, and there's a new menu property, nonANSIPromptText, which allows customization of the prompt text when in traditional/non-ANSI mode.

    See merge request main/sbbs!518

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