| author | hamidouk |
| Wed, 19 Oct 2011 15:00:34 +0200 | |
| branch | popcorn-port |
| changeset 98 | ed4ac18baf07 |
| parent 95 | da3ab0bfadf3 |
| child 114 | eda061f1aa75 |
| permissions | -rw-r--r-- |
|
66
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
1 |
/* the widget classes and definitions */ |
|
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
2 |
|
| 74 | 3 |
IriSP.Widget = function(Popcorn, config, Serializer) { |
4 |
this._Popcorn = Popcorn; |
|
5 |
this._config = config; |
|
6 |
this._serializer = Serializer; |
|
|
66
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
7 |
}; |
|
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
8 |
|
|
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
9 |
IriSP.Widget.prototype.draw = function() { |
|
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
10 |
/* implemented by "sub-classes" */ |
|
13013b9452af
Added a new file to the build, widgets.js, to contain widget classes.
hamidouk
parents:
diff
changeset
|
11 |
}; |
| 74 | 12 |
|
13 |
IriSP.Widget.prototype.redraw = function() { |
|
14 |
/* implemented by "sub-classes" */ |
|
15 |
}; |
|
16 |
||
17 |
IriSP.PlayerWidget = function(Popcorn, config, Serializer) { |
|
18 |
IriSP.Widget.call(this, Popcorn, config, Serializer); |
|
19 |
|
|
| 98 | 20 |
}; |