src/js/widgets.js
author hamidouk
Thu, 13 Oct 2011 17:11:20 +0200
branchpopcorn-port
changeset 73 a8192c57c87d
parent 66 13013b9452af
child 74 d7a7d7216371
permissions -rw-r--r--
added a function to make closures (for use in callbacks).

/* the widget classes and definitions */

IriSP.Widget = function(Popcorn) {
  this.Popcorn = Popcorn;
};

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