File: SetAnimation.xml

package info (click to toggle)
fvwm 1%3A2.5.30.ds-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,960 kB
  • ctags: 15,640
  • sloc: ansic: 165,504; xml: 17,516; perl: 11,498; sh: 5,243; makefile: 1,345; yacc: 688; lex: 188; sed: 11
file content (50 lines) | stat: -rw-r--r-- 1,598 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<!-- $Id: SetAnimation.xml,v 1.3 2007/06/16 12:38:46 griph Exp $ -->
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>


<section id='SetAnimation'>
<title>SetAnimation</title>

<cmdsynopsis>
	<command>SetAnimation</command
	><arg choice='plain'
		><replaceable>milliseconds-delay</replaceable
	></arg
	><arg choice='opt'
		><replaceable>fractions-to-move-list</replaceable
	></arg>
</cmdsynopsis>

<para>Sets the time between frames and the list of fractional offsets to
customize the animated moves of the
<fvwmref cmd="AnimatedMove"/>
command and the animation of menus (if the menu style is set to
animated; see
<fvwmref cmd="MenuStyle"/>
command).  If the
<replaceable>fractions-to-move-list</replaceable>
is omitted, only the time between frames is altered.  The
<replaceable>fractions-to-move-list</replaceable>
specifies how far the window should be offset at each successive
frame as a fraction of the difference between the starting
location and the ending location.  e.g.:</para>

<programlisting>
SetAnimation 10 -.01 0 .01 .03 .08 .18 .3 \
  .45 .6 .75 .85 .90 .94 .97 .99 1.0
</programlisting>

<para>Sets the delay between frames to 10 milliseconds, and sets the
positions of the 16 frames of the animation motion.  Negative
values are allowed, and in particular can be used to make the
motion appear more cartoonish, by briefly moving slightly in the
opposite direction of the main motion.  The above settings are the
default.</para>

</section>