qdosmsq:pe:struct:lidef

Loose Menu Items List

In a window working definition information about each loose item is given in a list terminated by a word containing -1. The form of an entry is given here.

Name      Off Size  Description
---------------------------------------------------------------------------
wwl_xsiz  $00 word  hit area width (in pixels)
wwl_ysiz  $02 word  hit area height (in pixels)
wwl_xorg  $04 word  hit area x origin
wwl_yorg  $06 word  hit area y origin
wwl_xjst  $08 byte  x justification rule  (See Notes)
wwl_yjst  $09 byte  y justification rule       "
wwl_type  $0a byte  object type (see Notes)
wwl_skey  $0b byte  selection key (upper case)
wwl_pobj  $0c long  pointer to object
wwl_item  $10 word  item number
wwl_pact  $12 long  pointer to action routine
wwl.elen  $16       entry length
---------------------------------------------------------------------------
  • The object types are:
    • 0 = Text
    • 2 = Sprite
    • 4 = Blob
    • 6 = Pattern
  • A justification byte of zero indicates centring. A byte of +k indicates a space of k pixels from the right or bottom. A byte of -k indicates a space of k bytes from the left or top.
  • qdosmsq/pe/struct/lidef.txt
  • Last modified: 2011/10/29 14:16
  • by george.gwilt