~ubuntu-branches/ubuntu/vivid/clutter-1.0/vivid-proposed

« back to all changes in this revision

Viewing changes to doc/cookbook/examples/animations-complex.json

  • Committer: Package Import Robot
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2014-03-26 11:51:28 UTC
  • mfrom: (1.5.1) (4.1.30 experimental)
  • Revision ID: package-import@ubuntu.com-20140326115128-timmbsde8734o6wz
Tags: 1.18.0-1
* New upstream release.
* debian/control.in:
  + Bump gtk-doc-tools build dependency.
  + Also break libcogl15.
  + Standards-Version is 3.9.5, no changes needed.
* debian/libclutter-1.0-0.symbols:
  + Drop a few symbols that were accidentally exported in the DSO because
    they had a clutter_ prefix but were not in the public headers.
  + Add one new symbol.
  + Drop unnecessary debian revisions from some symbols.
* debian/control.in,
  debian/rules,
  debian/libclutter-1.0-0.symbols:
  + Temporarily disable evdev input support. It was only enabled in 1.17.6-1
    in experimental and there is nothing using it yet, and I would like to
    wait a bit before uploading libinput to unstable as the ABI isn't stable
    yet.
* d/p/0001-wayland-Add-missing-CLUTTER_AVAILABLE-annotations.patch:
  + Add missing annotations so that a few symbols are exported in the DSO.

* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[
 
2
  {
 
3
    "type" : "ClutterStage",
 
4
    "id" : "stage",
 
5
    "width" : 400,
 
6
    "height" : 400,
 
7
    "color" : "#333355ff",
 
8
 
 
9
    "signals" : [
 
10
      { "name" : "destroy", "handler" : "clutter_main_quit" },
 
11
      { "name" : "key-press-event", "handler" : "foo_key_pressed_cb" }
 
12
    ],
 
13
 
 
14
    "children" : [
 
15
      {
 
16
        "type" : "ClutterRectangle",
 
17
        "id" : "rectangle",
 
18
        "color" : "red",
 
19
        "width" : 100,
 
20
        "height" : 100,
 
21
        "x" : 0,
 
22
        "y" : 0,
 
23
        "scale-gravity" : "center"
 
24
      }
 
25
    ]
 
26
  },
 
27
 
 
28
  {
 
29
    "type" : "ClutterAnimator",
 
30
    "id" : "animator",
 
31
    "duration" : 3000,
 
32
 
 
33
    "properties" : [
 
34
      {
 
35
        "object" : "rectangle",
 
36
        "name" : "x",
 
37
        "ease-in" : true,
 
38
        "keys" : [
 
39
          [ 0.0, "linear", 0.0 ],
 
40
          [ 0.1, "easeInCubic", 150.0 ],
 
41
          [ 0.8, "linear", 150.0 ],
 
42
          [ 1.0, "easeInCubic", 0.0 ]
 
43
        ]
 
44
      },
 
45
      {
 
46
        "object" : "rectangle",
 
47
        "name" : "y",
 
48
        "ease-in" : true,
 
49
        "keys" : [
 
50
          [ 0.0, "linear", 0.0 ],
 
51
          [ 0.1, "easeInCubic", 150.0 ],
 
52
          [ 0.8, "linear", 150.0 ],
 
53
          [ 1.0, "easeInCubic", 300.0 ]
 
54
        ]
 
55
      },
 
56
      {
 
57
        "object" : "rectangle",
 
58
        "name" : "scale-x",
 
59
        "ease-in" : true,
 
60
        "keys" : [
 
61
          [ 0.1, "linear", 1.0 ],
 
62
          [ 0.3, "easeOutBounce", 2.0 ],
 
63
          [ 0.8, "linear", 2.0 ],
 
64
          [ 1.0, "linear", 1.0 ]
 
65
        ]
 
66
      },
 
67
      {
 
68
        "object" : "rectangle",
 
69
        "name" : "scale-y",
 
70
        "ease-in" : true,
 
71
        "keys" : [
 
72
          [ 0.1, "linear", 1.0 ],
 
73
          [ 0.3, "easeOutBounce", 2.0 ],
 
74
          [ 0.8, "linear", 2.0 ],
 
75
          [ 1.0, "linear", 1.0 ]
 
76
        ]
 
77
      }
 
78
    ]
 
79
  }
 
80
]