misc/theme_editor.html
changeset 5543 5e597b725316
parent 5346 ee611abe9158
child 10017 de822cd3df3a
equal deleted inserted replaced
5541:ec3685a583a5 5543:5e597b725316
   123             canvas { border: 1px solid black; }
   123             canvas { border: 1px solid black; }
   124         </style>
   124         </style>
   125     </head>
   125     </head>
   126     <body onload="load();">
   126     <body onload="load();">
   127         <h1>Hedgewars Theme editor</h1>
   127         <h1>Hedgewars Theme editor</h1>
   128         <canvas id="preview" width="512" height="384"></canvas><br>
   128         <canvas id="preview" width="512" height="384">Sorry, your browser does not support Canvas.</canvas><br>
   129         <table>
   129         <table>
   130         <tr><td>Sky:</td><td>
   130         <tr><td>Sky:</td><td>
   131         <input id="sky" type="file" accept="image/png" onchange="sky.src = window.URL.createObjectURL(this.files[0])"></input>
   131         <input id="sky" type="file" accept="image/png" onchange="sky.src = window.URL.createObjectURL(this.files[0])"></input>
   132         </td></tr>
   132         </td></tr>
   133         <tr><td>Sky Color:</td><td>
   133         <tr><td>Sky Color:</td><td>