added a new widget, the arrowWidget. popcorn-port
authorhamidouk
Tue, 22 Nov 2011 17:22:15 +0100
branchpopcorn-port
changeset 299 d2005f747d5a
parent 298 eccdc619ede3
child 300 a50aea26ec89
added a new widget, the arrowWidget.
src/css/LdtPlayer.css
src/css/imgs/arrow.png
src/js/widgets/arrowWidget.js
src/templates/arrowWidget.html
--- 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
+    }
Binary file src/css/imgs/arrow.png has changed
--- /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);
+};
--- /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 @@
+<div class='Ldt-arrowWidget'>
+</div>