#
# NEED_PARMS modifiers button
#
# HELP: SYNOPSIS:
# HELP:     threeplane/mouse_advance
# HELP:
# HELP: DESCRIPTION:
# HELP:     Map the press of mouse button "button" (l/m/r) together with the
# HELP:     Modifiermask "modifiers" (0=none, 1=shift, 2=ctrl, 4=alt) to
# HELP:     advancing the cursor by 1 plane on all three planes.
#

VIEW_SET Planes_XY
REGISTER Move View MOUSE Advance "Advance plane" ${$argv[1]} 0xffffffff p ${$argv[2]} 3 ! register/mouse/advance z 1

VIEW_SET Planes_XZ
REGISTER Move View MOUSE Advance "Advance plane" ${$argv[1]} 0xffffffff p ${$argv[2]} 3 ! register/mouse/advance y 1

VIEW_SET Planes_YZ
REGISTER Move View MOUSE Advance "Advance plane" ${$argv[1]} 0xffffffff p ${$argv[2]} 3 ! register/mouse/advance x 1
