src/js/widgets.js
author hamidouk
Thu, 20 Oct 2011 15:59:28 +0200
branchpopcorn-port
changeset 108 62da43e72e30
parent 98 ed4ac18baf07
child 114 eda061f1aa75
permissions -rw-r--r--
broke the serializers across multiple files. added a newline to the end of segmentsWidget.js.

/* the widget classes and definitions */

IriSP.Widget = function(Popcorn, config, Serializer) {
  this._Popcorn = Popcorn;
  this._config = config;  
  this._serializer = Serializer;
};

IriSP.Widget.prototype.draw = function() {
  /* implemented by "sub-classes" */  
};

IriSP.Widget.prototype.redraw = function() {
  /* implemented by "sub-classes" */  
};

IriSP.PlayerWidget = function(Popcorn, config, Serializer) {
  IriSP.Widget.call(this, Popcorn, config, Serializer);
  
};