# HG changeset patch # User hamidouk # Date 1321978935 -3600 # Node ID d2005f747d5aaa542cb2049a3ebea01fc9bc5bac # Parent eccdc619ede3a4863875d008ab575b5e9ac1be3a added a new widget, the arrowWidget. diff -r eccdc619ede3 -r d2005f747d5a src/css/LdtPlayer.css --- a/src/css/LdtPlayer.css Mon Nov 21 16:20:55 2011 +0100 +++ b/src/css/LdtPlayer.css Tue Nov 22 17:22:15 2011 +0100 @@ -162,6 +162,15 @@ clear:both; } + /* Arrow Widget */ + .Ldt-arrowWidget { + background:url('imgs/arrow.png') no-repeat scroll 0 0 transparent ; + height:16px; + width:27px; + margin-bottom: -1px; + left: 0%; + } + .cleaner { clear:both; } @@ -266,4 +275,4 @@ /* the styling of a spacer div */ .Ldt-spacer { background-color:#eeeeee; - } \ No newline at end of file + } diff -r eccdc619ede3 -r d2005f747d5a src/css/imgs/arrow.png Binary file src/css/imgs/arrow.png has changed diff -r eccdc619ede3 -r d2005f747d5a src/js/widgets/arrowWidget.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/js/widgets/arrowWidget.js Tue Nov 22 17:22:15 2011 +0100 @@ -0,0 +1,19 @@ +IriSP.ArrowWidget = function(Popcorn, config, Serializer) { + IriSP.Widget.call(this, Popcorn, config, Serializer); + +}; + + +IriSP.ArrowWidget.prototype = new IriSP.Widget(); + +IriSP.ArrowWidget.prototype.clear = function() { + +}; + +IriSP.ArrowWidget.prototype.clearWidget = function() { +}; + +IriSP.ArrowWidget.prototype.draw = function() { + var templ = Mustache.to_html(IriSP.arrowWidget_template, {}); + this.selector.append(templ); +}; diff -r eccdc619ede3 -r d2005f747d5a src/templates/arrowWidget.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/templates/arrowWidget.html Tue Nov 22 17:22:15 2011 +0100 @@ -0,0 +1,2 @@ +
+