2 * turbulence/t/bloom.vala
4 * Copyright (c) 2008 Patrick Walton <pcwalton@uchicago.edu>
13 namespace TurbulenceTests
{
14 public class Bloom
: Object
{
16 Clutter
.Color blue
, white
;
17 Clutter
.Color
.parse("blue", out blue
);
18 Clutter
.Color
.parse("white", out white
);
20 Stage stage
= (Stage
)Stage
.get_default();
23 Gdk
.Pixbuf pixbuf
= new Gdk
.Pixbuf
.from_file("chrono.jpg");
25 Texture tex_a
= new Texture
.from_pixbuf(pixbuf
);
28 stage
.add_actor(tex_a
);
30 ActorModel tex_m
= new
ActorModel(tex_a
);
31 BloomFilter bloom
= new
BloomFilter();
38 public static void main(string[] args
)
40 Clutter
.init(ref args
);
41 new TurbulenceTests
.Bloom();