From ee61905c397c198404ac5639a5d104ea3641a591 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 5 Nov 2015 11:37:14 +0000 Subject: [PATCH] Adaptação do Painel de botoes do editor vetorial para OL3 --- ferramentas/editorol/editorol.js | 80 +++++++++++++++++++++++++++----------------------------------------------------- 1 file changed, 27 insertions(+), 53 deletions(-) diff --git a/ferramentas/editorol/editorol.js b/ferramentas/editorol/editorol.js index 4a37d76..a63b392 100755 --- a/ferramentas/editorol/editorol.js +++ b/ferramentas/editorol/editorol.js @@ -1726,60 +1726,33 @@ i3GEO.editorOL = draggable : true, close : true }); - //TODO ajustar o layout dos botoes para os novos padroes var ins = "" + '

Estilos (utilize a cor no formato r,g,b):

' - + '' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' + + '

Cor do contorno

' + + '
' + + '' + + '
' + + '

Cor do preenchimento

' + + '
' + + '' + + '
' + + '

Cor da fonte

' + + '
' + + '' + + '
' + + '

Tamanho da fonte

' + + '
' + + '' + + '
' + + '

Opacidade (de 0 a 1)

' + + '
' + + '' + + '
' + + '

Largura da linha/contorno

' + + '
' + + '' + + '
'; + //TODO incluir propriedades de uma figura /* + ' ' @@ -1795,7 +1768,7 @@ i3GEO.editorOL = + '" />' + ' ' */ - + '
Cor do contorno'; - if (i3GEO.configura) { - ins += - 'aquarela.gif'; - } - ins += - "" + '
Cor do preenchimento'; - if (i3GEO.configura) { - ins += - 'aquarela.gif'; - } - ins += - "" + '
Cor da fonte'; - if (i3GEO.configura) { - ins += - 'aquarela.gif'; - } - ins += - "" + '
Tamanho da fonte
Opacidade (de 0 a 1)
Largura da linha/contorno
'; + //TODO implementar ao atualizar OL3 /* + '
' @@ -1851,6 +1824,7 @@ i3GEO.editorOL = i3GEO.janela.minimiza("panelpropriedadesEditor"); }; } + i3GEO.util.aplicaAquarela("panelpropriedadesEditor"); } YAHOO.editorOL.container.panel.show(); temp = $i("panelpropriedadesEditor").getElementsByTagName("div"); -- libgit2 0.21.2