From a17e8d4f3939461e140fb0366f79ccf748cce571 Mon Sep 17 00:00:00 2001
From: "M. Voerman"
Date: Sun, 16 Dec 2012 15:06:37 +0100
Subject: Changed to SVG, --> !!needs SVG bootimage!!
---
History | 3 +
index.html | 1405 ------------------------------------------------------------
index.svg | 92 ++++
main.js | 1352 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 1447 insertions(+), 1405 deletions(-)
delete mode 100644 index.html
create mode 100644 index.svg
create mode 100644 main.js
diff --git a/History b/History
index bc4b2f8..40f299a 100644
--- a/History
+++ b/History
@@ -1,3 +1,6 @@
+0.10 Changed from webkit to svg, easier for Skinning, 720, 1080 size OSD.
+
+
0.04 Volume OSD bar
Media Player added.
Only Play/ Pause & FF, no REW.
diff --git a/index.html b/index.html
deleted file mode 100644
index 7c658bd..0000000
--- a/index.html
+++ /dev/null
@@ -1,1405 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
";
+ listMed = currMed-7;
+ for(var i=currMed-7; i<=currMed+7; i++) {
+ if (listMed<0) {
+ listMed=nrMedia-2;
+ }
+ if (listMed>nrMedia-1) {
+ listMed= -1;
+ }
+ do
+ {
+ listMed = listMed + 1;
+ }
+ while (!recording[listMed] && (listMed\uE003\uE003" + Left(recording[listMed],60) + "
";
+ }
+ htmlstring = htmlstring + "
";
+ mediaList.innerHTML = htmlstring;
+}
+
+
+function incMed(step) {
+ currMed = currMed + step;
+ if (currMed == nrMedia + 1) {
+ currMed = 0;
+ }
+}
+
+function decMed(step) {
+ currMed = currMed - step;
+ if (currMed < 0) {
+ currMed = nrMedia;
+ }
+}
+
+function playRec(uri) {
+ try {
+ if (mediaPlayer.getState() != mediaPlayer.STATE_IDLE) {
+ mediaPlayer.close();
+ }
+ uri = "file://" + uri;
+ mediaPlayer.open(uri);
+ mediaPlayer.play(1000);
+ showDisplay("PLAY", false, 100, 0 );
+ } catch (e) {
+ alert("Failed opening recording: " + e);
+ return;
+ }
+}
+
+
+function ShowMediaOSD() {
+// Display Name/ length
+ osdmedia.innerHTML = " Elapsed time : " + mediaPlayer.getPosition() + "";
+}
+
+
--
cgit v1.2.3