• src/sbbs3/ansiterm.cpp answer.cpp atcodes.cpp con_hi.cpp con_out.cpp ex

    From rswindell@1:103/705 to CVS commit on Thu May 7 22:19:29 2020
    src/sbbs3 ansiterm.cpp 1.24 1.25 answer.cpp 1.112 1.113 atcodes.cpp 1.136 1.137
    con_hi.cpp 1.28 1.29 con_out.cpp 1.132 1.133 exec.cpp 1.113 1.114 execmsg.cpp 1.12 1.13 getkey.cpp 1.60 1.61 getmsg.cpp 1.101 1.102 inkey.cpp 1.67 1.68 js_console.cpp 1.146 1.147 main.cpp 1.784 1.785 prntfile.cpp 1.44 1.45 putmsg.cpp 1.61 1.62 sbbs.h 1.565 1.566 sbbsdefs.h 1.259 1.260
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv15782

    Modified Files:
    ansiterm.cpp answer.cpp atcodes.cpp con_hi.cpp con_out.cpp
    exec.cpp execmsg.cpp getkey.cpp getmsg.cpp inkey.cpp
    js_console.cpp main.cpp prntfile.cpp putmsg.cpp sbbs.h
    sbbsdefs.h
    Log Message:
    Add mouse hot spot support:
    - 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>


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)