qdosmsq:pe:vectors:drbdr

WM.DRBDR - Vector $44

Draws or clears a border round the current item.

Call ParametersReturn Parameters
A0 channel ID A0 preserved
A1 status area A1 preserved

Any I/O sub system errors

  • No other registers are used.
  • To clear the border round the current item:
    • Set the most significant bit of ws_citem.
    • If ws_ciact is clear call WM.DRBDR else call the routine to which ws_ciact points and then clear ws_ciact.
  • To set the border round the current item:
    • Set ws_citem, ws_cibrw, ws_cipap (to the highlight colour) and the hit area ws_cihit.
    • Call WM.DRBDR.
    • Reset ws_cipap to the background colour.
  • The meanings of ws_citem etc are given below.

The format of the part of the status area concerning the current item is given here.

MnemonicValueSizeDescription
ws_ciact $2C longpointer to current action routine
ws_citem $30 wordcurrent item in sub-window
ws_cibrw $32 wordcurrent item border width
ws_cipap $34 wordpaper colour behind current item
ws_cispr $36 wordspare
ws_cihit $38 current item hit area (absolute co-ordinates)
ws_cihxs $38 wordhit area x-size
ws_cihys $3A wordhit area y-size
ws_cihxo $3C wordhit area x-origin in sub-window
ws_cihyo $3E wordhit area y-origin in sub-window
  • qdosmsq/pe/vectors/drbdr.txt
  • Last modified: 2009/01/30 11:03
  • by norman