home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 May / PCWorld_2007-05_cd.bin / temacd / vlc / vlc-0.8.6a-win32.exe / http / dialogs / mosaic < prev    next >
Text File  |  2007-01-04  |  6KB  |  117 lines

  1. <vlc id="if" param1="0" />
  2. vim:syntax=html
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  mosaic: VLC media player web interface - mosaic wizard
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id: mosaic 14837 2006-03-20 01:51:45Z dionoea $
  8. <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
  9. <  This program is free software; you can redistribute it and/or modify
  10. <  it under the terms of the GNU General Public License as published by
  11. <  the Free Software Foundation; either version 2 of the License, or
  12. <  (at your option) any later version.
  13. <  This program is distributed in the hope that it will be useful,
  14. <  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. <  GNU General Public License for more details.
  17. <  You should have received a copy of the GNU General Public License
  18. <  along with this program; if not, write to the Free Software
  19. <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  20. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  21.  
  22. This dialog needs the following dialogs to be fully functional: input and
  23. sout.
  24. <vlc id="end" />
  25.  
  26. <div id="mosaic" class="dialog">
  27.   <div class="title">
  28.     VLC media player - Mosaic wizard
  29.     <button id="btn_toggle_text" onclick="toggle_btn_text();">
  30.       <img src="images/help.png" alt="Help" />
  31.       Help
  32.     </button>
  33.   </div>
  34.   <div class="controls">
  35.     <b>Mosaic dimensions:</b><br/>
  36.     <table style="text-align: right;">
  37.       <tr>
  38.         <td>
  39.           <label for="bg_width">Background width*:</label> <input class="mosaic_bg" type="text" id="bg_width" value="400" size="8" onchange="mosaic_size_change();" />
  40.         </td>
  41.         <td>
  42.           <label for="bg_height">Background height*:</label> <input class="mosaic_bg" type="text" id="bg_height" value="300" size="8" onchange="mosaic_size_change();" />
  43.         </td>
  44.       </tr>
  45.       <tr>
  46.         <td>
  47.           <label for="mosaic_width">Width:</label> <input class="mosaic_tbl" type="text" id="mosaic_width" value="200" size="8" onchange="mosaic_size_change();" />
  48.         </td>
  49.         <td>
  50.           <label for="mosaic_height">Height:</label> <input class="mosaic_tbl" type="text" id="mosaic_height" value="200" size="8" onchange="mosaic_size_change();" />
  51.         </td>
  52.       </tr>
  53.       <tr>
  54.         <td>
  55.           <label for="mosaic_xoffset">X offset (left):</label> <input class="mosaic_tbl" type="text" id="mosaic_xoffset" value="10" size="8" onchange="mosaic_size_change();" />
  56.         </td>
  57.         <td>
  58.           <label for="mosaic_yoffset">Y offset (top):</label> <input class="mosaic_tbl" type="text" id="mosaic_yoffset" value="10" size="8" onchange="mosaic_size_change();" />
  59.         </td>
  60.       </tr>
  61.       <tr>
  62.         <td>
  63.           <label for="mosaic_cols">Columns:</label> <input class="mosaic_itm" type="text" id="mosaic_cols" value="2" size="8" onchange="mosaic_size_change();" />
  64.         </td>
  65.         <td>
  66.           <label for="mosaic_rows">Rows:</label> <input class="mosaic_itm" type="text" id="mosaic_rows" value="2" size="8" onchange="mosaic_size_change();" />
  67.         </td>
  68.       </tr>
  69.       <tr>
  70.         <td>
  71.           <label for="mosaic_hborder">Horizontal border:</label> <input class="mosaic_itm" type="text" id="mosaic_hborder" value="10" size="8" onchange="mosaic_size_change();" />
  72.         </td>
  73.         <td>
  74.           <label for="mosaic_vborder">Vertical border:</label> <input class="mosaic_itm" type="text" id="mosaic_vborder" value="5" size="8" onchange="mosaic_size_change();" />
  75.         </td>
  76.       </tr>
  77.       <tr>
  78.         <td colspan="2">
  79.         *: these values aren't used by the mosaic code.<br/> They're only here to adapt the preview's size.
  80.         </td>
  81.       </tr>
  82.     </table>
  83.     <b>Background:</b><br/>
  84.     <label for="mosaic_bg_input">Input:<label> <input type="text" id="mosaic_bg_input" class="mosaic_bg" value="" size="60" onblur="mosaic_code_update();" /> <input type="button" value="Edit" onclick="vlm_input_edit( 'mosaic_bg_input' );" /><br/>
  85.     <b>Item:</b><br/>
  86.     <label for="mosaic_input_name">Name:</label> <input type="text" id="mosaic_input_name" value="" class="mosaic_itm" />
  87.     <label for="mosaic_input">Input:</label> <input type="text" id="mosaic_input" value="" class="mosaic_itm" /> <input type="button" value="Edit" onclick="vlm_input_edit( 'mosaic_input' );" /> <input type="button" value="Add to input list" onclick="mosaic_add_input();" /><br/>
  88.     <b>Stream:</b> (leave this empty to display locally)<br/>
  89.     <label for="mosaic_output">Output:</label> <input type="text" id="mosaic_output" value="" size="60" onblur="mosaic_code_update();" /> <input type="button" value="Edit" onclick="vlm_output_edit( 'mosaic_output' );" /><br/>
  90.     <div id="mosaic_feedback"></div>
  91.   </div>
  92.   <div  id="mosaic_list" class="popup">[<a href="javascript:hide('mosaic_list');">hide</a>] - Select a stream:<br/><div id="mosaic_list_content"></div></div>
  93.   <div class="controls">
  94.     Click on each of the cells to assign inputs. (<a href="javascript:document.getElementById('mosaic_list').value='';show('mosaic_list');">Show input list</a>)
  95.   </div>
  96. </div>
  97.  
  98. <div id="mosaic_layout" class="mosaic_bg"></div>
  99.  
  100. <div class="dialog" style="overflow:visible;">
  101.   <div class="controls">
  102.     <input type="button" value="Let's go!" onclick="mosaic_batch(document.getElementById('mosaic_code').value);" />
  103.     <input type="button" value="Stop" onclick="mosaic_stop()" />
  104.     <input type="button" id="mosaic_code_show" value="Show VLM code" onclick="show('mosaic_code_div');hide('mosaic_code_show');showinline('mosaic_code_hide');" />
  105.     <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');" />
  106.     <br/><br/>
  107.   </div>
  108.   <div id="mosaic_code_div" style="display:none;" >
  109.     Edit the following VLM command batch if you want to fine tune your mosaic settings:
  110.   <textarea id="mosaic_code" cols="80" rows="30"></textarea>
  111.   </div>
  112. </div>
  113.