diff --git a/examples/Info/modgui.ttl b/examples/Info/modgui.ttl deleted file mode 100644 index 0b04bfd6..00000000 --- a/examples/Info/modgui.ttl +++ /dev/null @@ -1,42 +0,0 @@ -@prefix lv2: . -@prefix mod: . -@prefix modgui: . - - - mod:brand "DISTRHO" ; - mod:label "Info" ; - modgui:gui [ - modgui:brand "DISTRHO" ; - modgui:label "Info" ; - modgui:resourcesDirectory ; - modgui:iconTemplate ; - modgui:stylesheet ; - modgui:screenshot ; - modgui:thumbnail ; - modgui:javascript ; - modgui:monitoredOutputs [ - lv2:symbol "buffer_size" ; - ] , [ - lv2:symbol "time_playing" ; - ] , [ - lv2:symbol "time_frame" ; - ] , [ - lv2:symbol "time_validbbt" ; - ] , [ - lv2:symbol "time_bar" ; - ] , [ - lv2:symbol "time_beat" ; - ] , [ - lv2:symbol "time_tick" ; - ] , [ - lv2:symbol "time_barstarttick" ; - ] , [ - lv2:symbol "time_beatsperbar" ; - ] , [ - lv2:symbol "time_beattype" ; - ] , [ - lv2:symbol "time_ticksperbeat" ; - ] , [ - lv2:symbol "time_beatsperminute" ; - ] ; - ] . diff --git a/examples/Info/modgui/box.png b/examples/Info/modgui/box.png deleted file mode 100755 index e26cda92..00000000 Binary files a/examples/Info/modgui/box.png and /dev/null differ diff --git a/examples/Info/modgui/icon-info.html b/examples/Info/modgui/icon-info.html deleted file mode 100755 index e7603bdd..00000000 --- a/examples/Info/modgui/icon-info.html +++ /dev/null @@ -1,73 +0,0 @@ -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - -
Buffer Size:---
Sample Rate:---
Playing:---
Frame:---
Time:---
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BBT Valid:---
Bar:---
Beat:---
Tick:---
Bar Start Tick:---
Beats Per Bar:---
Beat Type:---
Ticks Per Beat:---
BPM:---
-
-
- - -
-
diff --git a/examples/Info/modgui/screenshot-info.png b/examples/Info/modgui/screenshot-info.png deleted file mode 100755 index 9645075b..00000000 Binary files a/examples/Info/modgui/screenshot-info.png and /dev/null differ diff --git a/examples/Info/modgui/script-info.js b/examples/Info/modgui/script-info.js deleted file mode 100644 index f7122490..00000000 --- a/examples/Info/modgui/script-info.js +++ /dev/null @@ -1,57 +0,0 @@ -function (event) { - - function magic () { - if (event.data.magicHasHappened) { - $('#pedalboard-dashboard').css({ - 'background': "#111 url(/img/background.jpg) repeat", - }); - } else { - $('#pedalboard-dashboard').css({ - 'background': "#111 url(/resources/tilesf1.jpg?uri=http%3A//distrho.sf.net/examples/Info) repeat", - }); - } - event.data.magicHasHappened = !event.data.magicHasHappened; - } - - function handle_event (symbol, value) { - switch (symbol) { - case 'time_playing': - case 'time_validbbt': - value = value > 0.5 ? "Yes" : "No"; - break; - case 'time_beatsperminute': - value = value.toFixed(2); - break; - case 'time_frame': { - var time = value / SAMPLERATE; - var secs = time % 60; - var mins = (time / 60) % 60; - var hrs = (time / 3600) % 60; - event.icon.find('[mod-role=time_frame_s]').text(sprintf("%02d:%02d:%02d", hrs, mins, secs)); - // fall-through - } - default: - value = value.toFixed(); - break; - } - - event.icon.find('[mod-role='+symbol+']').text(value); - } - - if (event.type == 'start') { - var ports = event.ports; - for (var p in ports) { - if (ports[p].symbol[0] == ":") { - continue; - } - handle_event (ports[p].symbol, ports[p].value); - } - // special cases - event.icon.find ('[mod-role=sample_rate]').text(SAMPLERATE); - event.icon.find ('.mod-magic').click(magic); - } - else if (event.type == 'change') { - handle_event (event.symbol, event.value); - } - -} diff --git a/examples/Info/modgui/stylesheet-info.css b/examples/Info/modgui/stylesheet-info.css deleted file mode 100755 index f922e3e9..00000000 --- a/examples/Info/modgui/stylesheet-info.css +++ /dev/null @@ -1,88 +0,0 @@ -@import url(/fonts/nexa/stylesheet.css); -@import url(/fonts/questrial/stylesheet.css); - -.distrho-info{{{cns}}} { - background-image:url(/resources/box.png{{{ns}}}); - background-position:center center; - background-repeat:no-repeat; - background-size:600px 300px; - width:600px; - height:300px; -/* position:absolute; */ - border-radius: 21px; -/* font-size: 2rem !important; */ -} - -.distrho-info{{{cns}}} .mod-pedal-input.mono, -.distrho-info{{{cns}}} .mod-pedal-output.mono { - top: 60px !important; -} - -.distrho-info{{{cns}}} .mod-pedal-input.stereo, -.distrho-info{{{cns}}} .mod-pedal-output.stereo { - top: 15px !important; -} - -.distrho-info{{{cns}}} .mod-logo { - background: url(/img/watermark.png) 42px 146px no-repeat; - width: 100%; - height: 100%; - position: absolute; - top: 0px; - left: 0px; -} - -@keyframes mod-magic{{{cns}}} { - 0% { - opacity: 0.1; - } - 100% { - opacity: 0.75; - } -} - -.distrho-info{{{cns}}} .mod-magic { - background: url(/img/social/favicon.png) no-repeat; - width: 118px; - height: 118px; - position: absolute; - top: 158px; - left: 52px; - background-size: cover; - opacity: 0; - cursor: pointer; - z-index: 21; - animation: mod-magic{{{cns}}} 5s infinite; - animation-direction: alternate; - animation-timing-function: ease-in; -} - -.distrho-info{{{cns}}} .tables { - display: flex; - flex-direction: row; - height: 100%; - padding: 21px; - font-family: monospace; - font-size: 1.8rem; - font-weight: bold; -} - -.distrho-info{{{cns}}} .table-left, -.distrho-info{{{cns}}} .table-right { - width: 50%; -} -.distrho-info{{{cns}}} .table-left { - padding-left: 36px; -} - -.distrho-info{{{cns}}} table { - border-collapse: separate; - border-spacing: 6px 1px; -} - -.distrho-info{{{cns}}} tr > td:first-child { - text-align: right; -} -.distrho-info{{{cns}}} tr > td:last-child { - font-weight: lighter; -} diff --git a/examples/Info/modgui/thumbnail-tinygain.png b/examples/Info/modgui/thumbnail-tinygain.png deleted file mode 100755 index d8205fdb..00000000 Binary files a/examples/Info/modgui/thumbnail-tinygain.png and /dev/null differ diff --git a/examples/Info/modgui/tilesf1.LICENSE b/examples/Info/modgui/tilesf1.LICENSE deleted file mode 100644 index 1e262544..00000000 --- a/examples/Info/modgui/tilesf1.LICENSE +++ /dev/null @@ -1,4 +0,0 @@ -From http://www.myfreetextures.com/generated-seamless-tile-background-texture/ - -Fair Use – You can use the images with credit / attribution to www.myfreetextures.com. -Sometimes it is not possible to give credit directly on a final project – in these cases please mention the site on your website, facebook or similar, whatever you think is fair. diff --git a/examples/Info/modgui/tilesf1.jpg b/examples/Info/modgui/tilesf1.jpg deleted file mode 100644 index 74e91648..00000000 Binary files a/examples/Info/modgui/tilesf1.jpg and /dev/null differ