Lines Matching full:this
1 // This file is required by the index.html file and will
3 // No Node.js APIs are available in this process because
13 this.canvas1 = c1;
14 this.canvas2 = c2;
15 this.canvas3 = c3;
16 this.width1 = c1.width; this.height1 = c1.height;
17 this.width2 = c2.width; this.height2 = c2.height;
18 this.width3 = c3.width; this.height3 = c3.height;
19 this.ctx1 = this.canvas1.getContext('2d');
20 this.ctx2 = this.canvas2.getContext('2d');
21 this.ctx3 = this.canvas3.getContext('2d');
22 this.frame_count = 0;
23 this.addBindings();
24 this.addListeners();
25 this.update();
26 this.run();
30 this.update = this.update.bind(this);
31 this.run = this.run.bind(this);
35 window.addEventListener('resize', this.update);
41 this.width1 = window.innerWidth;
42 this.height1 = window.innerHeight;
43 this.canvas1.width = this.width1;
44 this.canvas1.height = this.height1;
49 draw_timeline(this.ctx1);
50 draw_timeline_dbus(this.ctx2);
51 draw_timeline_boost_asio_handler(this.ctx3);
52 window.requestAnimationFrame(this.run);