Commit 3f9f5830c4213d67d790948f5379c511174a4d57
1 parent
190b899b
Exists in
master
and in
7 other branches
-
Showing
2 changed files
with
52 additions
and
107 deletions
Show diff stats
ferramentas/gradecoord/index.js
| @@ -61,14 +61,18 @@ i3GEOF.gradeCoord = { | @@ -61,14 +61,18 @@ i3GEOF.gradeCoord = { | ||
| 61 | dicionario["gradeCoordIntervalo"] = $inputText('','','i3GEOgradeCoordintervalo','',4,'2'); | 61 | dicionario["gradeCoordIntervalo"] = $inputText('','','i3GEOgradeCoordintervalo','',4,'2'); |
| 62 | dicionario["locaplic"] = i3GEO.configura.locaplic; | 62 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
| 63 | dicionario["nao"] = $trad("x15"); | 63 | dicionario["nao"] = $trad("x15"); |
| 64 | + | ||
| 64 | dicionario["sim"] = $trad("x14"); | 65 | dicionario["sim"] = $trad("x14"); |
| 65 | dicionario["gradeCoordtamanhotexto"] = $inputText('','','i3GEOgradeCoordtamanhotexto','',3,'10'); | 66 | dicionario["gradeCoordtamanhotexto"] = $inputText('','','i3GEOgradeCoordtamanhotexto','',3,'10'); |
| 66 | dicionario["gradeCoordmascara"] = $inputText('','','i3GEOgradeCoordmascara_i','',11,'-1,-1,-1'); | 67 | dicionario["gradeCoordmascara"] = $inputText('','','i3GEOgradeCoordmascara_i','',11,'-1,-1,-1'); |
| 68 | + dicionario["gradeCoordshadowcolor"] = $inputText('','','i3GEOgradeCoordshadowcolor','',11,'-1,-1,-1'); | ||
| 67 | dicionario["gradeCoordshadowsizex"] = $inputText('','','i3GEOgradeCoordshadowsizex','',3,'0'); | 69 | dicionario["gradeCoordshadowsizex"] = $inputText('','','i3GEOgradeCoordshadowsizex','',3,'0'); |
| 68 | dicionario["gradeCoordshadowsizey"] = $inputText('','','i3GEOgradeCoordshadowsizey','',3,'0'); | 70 | dicionario["gradeCoordshadowsizey"] = $inputText('','','i3GEOgradeCoordshadowsizey','',3,'0'); |
| 71 | + dicionario["gradeCoordcortexto"] = $inputText('','','i3GEOgradeCoordcortexto','',11,'0,0,0'); | ||
| 69 | dicionario["asp"] = '"'; | 72 | dicionario["asp"] = '"'; |
| 70 | return dicionario; | 73 | return dicionario; |
| 71 | }, | 74 | }, |
| 75 | + | ||
| 72 | /* | 76 | /* |
| 73 | Function: inicia | 77 | Function: inicia |
| 74 | 78 | ||
| @@ -82,10 +86,11 @@ i3GEOF.gradeCoord = { | @@ -82,10 +86,11 @@ i3GEOF.gradeCoord = { | ||
| 82 | try{ | 86 | try{ |
| 83 | $i(iddiv).innerHTML += i3GEOF.gradeCoord.html(); | 87 | $i(iddiv).innerHTML += i3GEOF.gradeCoord.html(); |
| 84 | i3GEO.util.comboFontes("i3GEOgradeCoordfonte","i3GEOgradeCoordfontef"); | 88 | i3GEO.util.comboFontes("i3GEOgradeCoordfonte","i3GEOgradeCoordfontef"); |
| 85 | - new YAHOO.widget.Button( | 89 | + var b = new YAHOO.widget.Button( |
| 86 | "i3GEOgradeCoordbotao1", | 90 | "i3GEOgradeCoordbotao1", |
| 87 | {onclick:{fn: i3GEOF.gradeCoord.executa}} | 91 | {onclick:{fn: i3GEOF.gradeCoord.executa}} |
| 88 | ); | 92 | ); |
| 93 | + b.addClass("rodar"); | ||
| 89 | i3GEO.util.aplicaAquarela("i3GEOF.gradeCoord_corpo"); | 94 | i3GEO.util.aplicaAquarela("i3GEOF.gradeCoord_corpo"); |
| 90 | } | 95 | } |
| 91 | catch(erro){i3GEO.janela.tempoMsg(erro);} | 96 | catch(erro){i3GEO.janela.tempoMsg(erro);} |
ferramentas/gradecoord/template_mst.html
| 1 | -<table summary='' class='lista'> | ||
| 2 | - <tr> | ||
| 3 | - <td>{{{intervalo}}}:</td> | ||
| 4 | - <td>{{{gradeCoordIntervalo}}}</td> | ||
| 5 | - </tr> | ||
| 6 | - <tr> | ||
| 7 | - <td> </td> | ||
| 8 | - <td></td> | ||
| 9 | - </tr> | ||
| 10 | - <tr> | ||
| 11 | - <td>{{{cor}}}:</td> | ||
| 12 | - <td> | ||
| 13 | - <div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
| 14 | - <input type='text' id='i3GEOgradeCoordcorlinha' value='0,0,0' /> | ||
| 15 | - </div> | ||
| 16 | - </td> | ||
| 17 | - </tr> | ||
| 18 | - <tr> | ||
| 19 | - <td> </td> | ||
| 20 | - <td></td> | ||
| 21 | - </tr> | ||
| 22 | - <tr> | ||
| 23 | - <td>{{{largura}}}:</td> | ||
| 24 | - <td>{{{gradeCoordlarguralinha}}}</td> | ||
| 25 | - </tr> | ||
| 26 | - <tr> | ||
| 27 | - <td> </td> | ||
| 28 | - <td></td> | ||
| 29 | - </tr> | ||
| 30 | - <tr> | ||
| 31 | - <td>{{{tipoLinha}}}:</td> | ||
| 32 | - <td> | 1 | +<p class='paragrafo'>{{{intervalo}}}:</p> |
| 2 | + <div class='i3geoForm i3geoFormIconeEdita' > | ||
| 3 | + <input type='text' id='i3GEOgradeCoordintervalo' value='2' /> | ||
| 4 | + </div> | ||
| 5 | +<br><p class='paragrafo'>{{{cor}}}:</p> | ||
| 6 | + <div class='i3geoForm100 i3geoFormIconeAquarela' > | ||
| 7 | + <input type='text' id='i3GEOgradeCoordcorlinha' value='2' /> | ||
| 8 | + </div> | ||
| 9 | +<br><p class='paragrafo'>{{{largura}}}:</p> | ||
| 10 | + <div class='i3geoForm i3geoFormIconeEdita' > | ||
| 11 | + <input type='text' id='i3GEOgradeCoordlarguralinha' value='1' /> | ||
| 12 | + </div> | ||
| 13 | +<br><p class='paragrafo'>{{{tipoLinha}}}:</p> | ||
| 14 | + <div class='styled-select'> | ||
| 33 | <select id='i3GEOgradeCoordtipolinha'> | 15 | <select id='i3GEOgradeCoordtipolinha'> |
| 34 | <option value='linha'>{{{solido}}}</option> | 16 | <option value='linha'>{{{solido}}}</option> |
| 35 | <option value='ferrovia-line2'>{{{tracejado}}}</option> | 17 | <option value='ferrovia-line2'>{{{tracejado}}}</option> |
| 36 | </select> | 18 | </select> |
| 37 | - </td> | ||
| 38 | - </tr> | ||
| 39 | - <tr> | ||
| 40 | - <td> </td> | ||
| 41 | - <td></td> | ||
| 42 | - </tr> | ||
| 43 | - <tr> | ||
| 44 | - <td>Inclui textos:</td> | ||
| 45 | - <td> | 19 | + </div> |
| 20 | +<br><p class='paragrafo'>Inclui textos:</p> | ||
| 21 | + <div class='styled-select'> | ||
| 46 | <select id='i3GEOgradeCoordincluitexto'> | 22 | <select id='i3GEOgradeCoordincluitexto'> |
| 47 | <option value='sim'>{{{sim}}}</option> | 23 | <option value='sim'>{{{sim}}}</option> |
| 48 | <option value='nao'>{{{nao}}}</option> | 24 | <option value='nao'>{{{nao}}}</option> |
| 49 | </select> | 25 | </select> |
| 50 | - </td> | ||
| 51 | - </tr> | ||
| 52 | - <tr> | ||
| 53 | - <td> </td> | ||
| 54 | - <td></td> | ||
| 55 | - </tr> | ||
| 56 | - <tr> | ||
| 57 | - <td>{{{tamanhoTexto}}}:</td> | ||
| 58 | - <td>{{{gradeCoordtamanhotexto}}}</td> | ||
| 59 | - </tr> | ||
| 60 | - <tr> | ||
| 61 | - <td> </td> | ||
| 62 | - <td></td> | ||
| 63 | - </tr> | ||
| 64 | - <tr> | ||
| 65 | - <td>{{{fonteTexto}}}:</td> | ||
| 66 | - <td id='i3GEOgradeCoordfontef'></td> | ||
| 67 | - </tr> | ||
| 68 | - <tr> | ||
| 69 | - <td> </td> | ||
| 70 | - <td></td> | ||
| 71 | - </tr> | ||
| 72 | - <tr> | ||
| 73 | - <td>{{{corMascara}}}:</td> | ||
| 74 | - <td> | ||
| 75 | - <div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
| 76 | - <input type='text' id='i3GEOgradeCoordmascara_i' value='0,0,0' /> | ||
| 77 | - </div> | ||
| 78 | - </td> | ||
| 79 | - </tr> | ||
| 80 | - <tr> | ||
| 81 | - <td> </td> | ||
| 82 | - <td></td> | ||
| 83 | - </tr> | ||
| 84 | - <tr> | ||
| 85 | - <td>{{{corSombra}}}:</td> | ||
| 86 | - <td> | ||
| 87 | - <div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
| 88 | - <input type='text' id='i3GEOgradeCoordshadowcolor' value='0,0,0' /> | ||
| 89 | - </div> | ||
| 90 | - </td> | ||
| 91 | - </tr> | ||
| 92 | - <tr> | ||
| 93 | - <td> </td> | ||
| 94 | - <td></td> | ||
| 95 | - </tr> | ||
| 96 | - <tr> | ||
| 97 | - <td>{{{deslocamentoSombra}}}:</td> | ||
| 98 | - <td> | ||
| 99 | - x {{{gradeCoordshadowsizex}}} <br>y {{{gradeCoordshadowsizey}}} | ||
| 100 | - </td> | ||
| 101 | - </tr> | ||
| 102 | - <tr> | ||
| 103 | - <td> </td> | ||
| 104 | - <td></td> | ||
| 105 | - </tr> | ||
| 106 | - <tr> | ||
| 107 | - <td>{{{corTexto}}}:</td> | ||
| 108 | - <td> | ||
| 109 | - <div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
| 110 | - <input type='text' id='i3GEOgradeCoordcortexto' value='0,0,0' /> | ||
| 111 | - </div> | ||
| 112 | - </td> | ||
| 113 | - </tr> | ||
| 114 | -</table> | 26 | + </div> |
| 27 | +<br><p class='paragrafo'>{{{tamanhoTexto}}}:</p> | ||
| 28 | + <div class='i3geoForm i3geoFormIconeEdita' > | ||
| 29 | + <input type='text' id='i3GEOgradeCoordtamanhotexto' value='10' /> | ||
| 30 | + </div> | ||
| 31 | +<br><p class='paragrafo'>{{{fonteTexto}}}:</p> | ||
| 32 | + <div class='styled-select' id='i3GEOgradeCoordfontef'> | ||
| 33 | + </div> | ||
| 34 | +<br><p class='paragrafo'>{{{corMascara}}}:</p> | ||
| 35 | + <div class='i3geoForm100 i3geoFormIconeAquarela' > | ||
| 36 | + <input type='text' id='i3GEOgradeCoordmascara_i' value='2' /> | ||
| 37 | + </div> | ||
| 38 | +<br><p class='paragrafo'>{{{corSombra}}}:</p> | ||
| 39 | + <div class='i3geoForm100 i3geoFormIconeAquarela' > | ||
| 40 | + <input type='text' id='i3GEOgradeCoordshadowcolor' value='2' /> | ||
| 41 | + </div> | ||
| 42 | +<br><p class='paragrafo'>{{{deslocamentoSombra}}} X:</p> | ||
| 43 | + <div class='i3geoForm i3geoFormIconeEdita' > | ||
| 44 | + <input type='text' id='i3GEOgradeCoordshadowsizex' value='0' /> | ||
| 45 | + </div> | ||
| 46 | +<br><p class='paragrafo'>{{{deslocamentoSombra}}} Y:</p> | ||
| 47 | + <div class='i3geoForm i3geoFormIconeEdita' > | ||
| 48 | + <input type='text' id='i3GEOgradeCoordshadowsizey' value='0' /> | ||
| 49 | + </div> | ||
| 50 | +<br><p class='paragrafo'>{{{corTexto}}}:</p> | ||
| 51 | + <div class='i3geoForm100 i3geoFormIconeAquarela' > | ||
| 52 | + <input type='text' id='i3GEOgradeCoordcortexto' value='2' /> | ||
| 53 | + </div> | ||
| 54 | + | ||
| 115 | <br> | 55 | <br> |
| 116 | <p class='paragrafo'> | 56 | <p class='paragrafo'> |
| 117 | <input id='i3GEOgradeCoordbotao1' size='10' type='button' value={{{criaGrade}}} /> | 57 | <input id='i3GEOgradeCoordbotao1' size='10' type='button' value={{{criaGrade}}} /> |
| 118 | \ No newline at end of file | 58 | \ No newline at end of file |