Fix the documentastion comment in SCROLL and add SCROLL_TO for contrast.

Suggestion by Shadow_Master.
This commit is contained in:
Eric S. Raymond 2007-10-03 19:47:57 +00:00
parent 26dfaa90b8
commit 85c578ddb4

View file

@ -343,16 +343,27 @@
#enddef
#define SCROLL X Y
# Scrolls the screen to the given coordinates.
# Scrolls the screen by the specified offsets
#
# For example, let's focus on 26,35:
#! {SCROLL 26 35}
# For example, let's scroll 5 right and 3 down:
#! {SCROLL 5 3}
[scroll]
x={X}
y={Y}
[/scroll]
#enddef
#define SCROLL_TO X Y
# Scrolls the screen to focus on the specified coordinates
#
# For example, let's focus on 26,35:
#! {SCROLL 26 35}
[scroll_to]
x={X}
y={Y}
[/scroll_to]
#enddef
#define TREMOR
# Visuals and sound for an earth tremor.
[sound]