Skip to content
Snippets Groups Projects
  1. May 09, 2020
  2. May 08, 2020
    • rswindell's avatar
      2 more uses of the "HOT" @-code: · 37a9a001
      rswindell authored
      - "HOT" by itself will set the hot-spot attribute to the *current* attribute
        (just colorize the @-code in your editor the same as you do your cmd keys
        no need to memorize color-code mnemonics)
      - "HOT:OFF" will turn off the hot-spot attribute through the end of the text or   util re-enabled
      - Use a more greedy/liberal hot-spot matching algoirthm so that hot spots can overlap and the "best" one will be chosen. No way to opt-out of this algorithm (e.g. to use a conservative matching algo) currently.
      - Earlier parse of @~ codes to keep text prestine (no parsing of |* or -*)
      37a9a001
    • rswindell's avatar
      2 more uses of the "HOT" @-code: · b468feda
      rswindell authored
      - "HOT" by itself will set the hot-spot attribute to the *current* attribute
        (just colorize the @-code in your editor the same as you do your cmd keys
        no need to memorize color-code mnemonics)
      - "HOT:OFF" will turn off the hot-spot attribute through the end of the text or   util re-enabled
      - Use a more greedy/liberal hot-spot matching algoirthm so that hot spots can overlap and the "best" one will be chosen. No way to opt-out of this algorithm (e.g. to use a conservative matching algo) currently.
      - Earlier parse of @~ codes to keep text prestine
      b468feda
    • rswindell's avatar
      Mmore use of K_TRIM getstr() mode to prevent prepended and trailing... · f393a83f
      rswindell authored
      Mmore use of K_TRIM getstr() mode to prevent prepended and trailing white-space on user data fields that are input by the user.
      Also fixed a pretty funny bug that would occur if a user hit Ctrl-C at the password modification (W) passowrd confirmation prmopt: all subsequen text was converted to X's. The console ECHO_X mode really should go away.
      f393a83f
    • rswindell's avatar
      A more convenient method of creating mouse hot spots in a display (e.g. menu)... · 192dea0e
      rswindell authored
      A more convenient method of creating mouse hot spots in a display (e.g. menu) file: New "HOT:<attr>" @-code allows you to define a specific combination of attributes (colors) that will be used to exclusively create clickable command keys or words in a file. Every set of charcters in the display file that uses that specific combination of attributes will become an automatic mouse hot spot. The <attr> is specified using a set of attribte mnemonics (e.g. "YH" for high-intensity yellow), the same set used in attr.cfg and other places in sbbs.
      
      This allows more WYSIWYG style menu editing (e.g. use PabloDraw), you just need to be careful with your choice of colors. You cannot send white-space or control characters with this method and the clickable text is the exact text that will be put in the keyboard buffer.
      192dea0e
    • rswindell's avatar
      Replace e-mail.asc and qwk.asc with *.msg. · 1cd55c22
      rswindell authored
      1cd55c22
    • rswindell's avatar
      ec0aefd7
    • rswindell's avatar
      fc5bc299
    • rswindell's avatar
      Mousify the QWK settings menu. · 44a4571e
      rswindell authored
      44a4571e
    • rswindell's avatar
      Mousify these menus (added mouse hot spots). · 50893565
      rswindell authored
      Also make e-mail menu 40-column happy.
      Rename to .msg to make PabloDraw play nice.
      50893565
    • rswindell's avatar
      More mouse hot spot stuff: · e821783a
      rswindell authored
      - User Defaults menu mousified
      - When all hot spots have scrolled off the screen, clear the hot spot list
      - Insert new hot spots in the front of the list so they will take precedence
        over any previously defined duplicate hot spots
      - Numeric hot spot commands end in a carriage-return
      - No auto-acceptence of numbers when there are keys in the keyboard buffer
      - Baja UNGETKEY function now inserts keys into the "front" of the keyboard
        buffer (next to be consumed)
      - Hot key @-code command text supports C-style escape sequences
        (allows encoding of ctrl chars, spaces, etc.)
      e821783a
    • rswindell's avatar
      Updated: · d018f7ff
      rswindell authored
      - InternetMailing
      - AddTextFileBeforeWhich
      - InvalidNetMailAddr
      - XtrnProgLstHdr
      - IceColorTerminalQ
      d018f7ff
    • rswindell's avatar
      Add [last] to AddTextFileBeforeWhich. · 05ffee52
      rswindell authored
      Put the example text in parens for IceColorTerminalQ.
      05ffee52
    • rswindell's avatar
      Add sbbs_t::keybuf_space() and keybuf_level() · a5b0f07f
      rswindell authored
      and JS console.keyboard_buffer_space() and keyboard_buffer_level()
      ... for tracking the number of character spaces used and available in the the (unget)keyboard input buffer.
      a5b0f07f
    • rswindell's avatar
      Resolve GCC warning: unused variable 'argv' · 885eda66
      rswindell authored
      885eda66
    • rswindell's avatar
      Resolve GCC warning: format '%u' expects argument of type 'unsigned int', but... · aca3666f
      rswindell authored
      Resolve GCC warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int'
      aca3666f
    • rswindell's avatar
      Add mouse hot spot support: · 87c9982c
      rswindell authored
      - hot spots are clickable screen areas (e.g. in menus and prompts) that   generate key-strokes
      - commands may be from 1 to 127 ASCII-characters in length
      - currently using the X10 mouse reporting mode, may change
      - all mnemonics strings (~Example) are automatically hot-spots
      - The new ~ @-code defines a hot spot
      - Any screen-clear operation clears all hot spots
      - sbbs now tracks the current screen (cursor position) row
      - eliminated the old "tos" (top-of-screen) boolean (row == 0 indicates "tos")
      - created an sbbs_t::ungetstr() method
      - keep track if in pause (hit a key) prompt, for special mouse behavior
      
      new JS console object:
      - row property
      - tos property is now read-only (and deprecated)
      - new methods:
        add_hotspot()
        clear_hotspots()
        scroll_hotspots()
      
      redrwstr() gets some UTF8 touch-ups as part of this commit. <shrug>
      87c9982c
    • nightfox's avatar
      A double-click of the mouse button now selects an item on the menu if... · 949d4ea5
      nightfox authored
      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).
      949d4ea5
    • deuce's avatar
      Mention scrollwheel. · 7f20cb76
      deuce authored
      7f20cb76
  3. May 07, 2020
Loading