src/js/widgets/arrowWidget.js
author hamidouk
Tue, 22 Nov 2011 17:22:15 +0100
branchpopcorn-port
changeset 299 d2005f747d5a
child 305 e8d05c3f77ed
permissions -rw-r--r--
added a new widget, the arrowWidget.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
299
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     1
IriSP.ArrowWidget = function(Popcorn, config, Serializer) {
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     2
  IriSP.Widget.call(this, Popcorn, config, Serializer);
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     3
  
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     4
};
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     5
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     6
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     7
IriSP.ArrowWidget.prototype = new IriSP.Widget();
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     8
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
     9
IriSP.ArrowWidget.prototype.clear = function() {
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    10
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    11
};
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    12
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    13
IriSP.ArrowWidget.prototype.clearWidget = function() {
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    14
};
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    15
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    16
IriSP.ArrowWidget.prototype.draw = function() {
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    17
  var templ = Mustache.to_html(IriSP.arrowWidget_template, {});
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    18
  this.selector.append(templ);
d2005f747d5a added a new widget, the arrowWidget.
hamidouk
parents:
diff changeset
    19
};