Commit f1e2a206 authored by Antoine Cellerier's avatar Antoine Cellerier

mosaic wizard: change layout & make VLM command batch display optional.

parent e591f8ca
...@@ -27,7 +27,7 @@ This dialog needs the following dialogs to be fully functional: input and ...@@ -27,7 +27,7 @@ This dialog needs the following dialogs to be fully functional: input and
sout. sout.
<vlc id="end" /> <vlc id="end" />
<div id="mosaic" class="dialog" style="overflow:visible;"> <div id="mosaic" class="dialog">
<div class="title"> <div class="title">
VLC media player - Mosaic wizard VLC media player - Mosaic wizard
<button id="btn_toggle_text" onclick="toggle_btn_text();"> <button id="btn_toggle_text" onclick="toggle_btn_text();">
...@@ -97,12 +97,20 @@ sout. ...@@ -97,12 +97,20 @@ sout.
<div class="controls"> <div class="controls">
Click on each of the cells to assign inputs. (<a href="javascript:document.getElementById('mosaic_list').value='';show('mosaic_list');">Show input list</a>) Click on each of the cells to assign inputs. (<a href="javascript:document.getElementById('mosaic_list').value='';show('mosaic_list');">Show input list</a>)
</div> </div>
<div id="mosaic_layout" class="mosaic_bg"></div> </div>
<div id="mosaic_layout" class="mosaic_bg"></div>
<div class="dialog" style="overflow:visible;">
<div class="controls"> <div class="controls">
<input type="button" value="Let's go!" onclick="mosaic_batch(document.getElementById('mosaic_code').value);" /> <input type="button" value="Let's go!" onclick="mosaic_batch(document.getElementById('mosaic_code').value);" />
<input type="button" value="Stop" onclick="mosaic_stop()" /> <input type="button" value="Stop" onclick="mosaic_stop()" />
<input type="button" id="mosaic_code_show" value="Show VLM code" onclick="show('mosaic_code_div');hide('mosaic_code_show');showinline('mosaic_code_hide');" />
<input type="button" id="mosaic_code_hide" style="display:none" value="Hide VLM code" onclick="hide('mosaic_code_div');hide('mosaic_code_hide');showinline('mosaic_code_show');" />
<br/><br/> <br/><br/>
Edit the following VLM command batch if you want to fine tune your mosaic settings:
</div> </div>
<div id="mosaic_code_div" style="display:none;" >
Edit the following VLM command batch if you want to fine tune your mosaic settings:
<textarea id="mosaic_code" cols="80" rows="30"></textarea> <textarea id="mosaic_code" cols="80" rows="30"></textarea>
</div>
</div> </div>
...@@ -197,6 +197,7 @@ function toggle_show_node( id ) ...@@ -197,6 +197,7 @@ function toggle_show_node( id )
} }
function show( id ){ document.getElementById( id ).style.display = 'block'; } function show( id ){ document.getElementById( id ).style.display = 'block'; }
function showinline( id ){ document.getElementById( id ).style.display = 'inline'; }
function hide( id ){ document.getElementById( id ).style.display = 'none'; } function hide( id ){ document.getElementById( id ).style.display = 'none'; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment