Tutorial para la creación de Skins

[ Regresar a Skins de Shareaza ]

Añadiendo compatibilidad RTL (Right-to-Left, Derecha-a-Izquierda)

In order to support languages that are written starting from the right that go to the left some additional things need to be taken into consideration when making a skin.

Comprobando que el skin funcione correctamente.

Go to RTL mode by changing the language in Shareaza to Hebrew. The logo should look like:

Logo RTL

Si el logo no se ve bien, sigue estos pasos:

  1. Abre tu programa de edición de imágenes.

  2. Select the whole logo and copy/paste to make a new image. Make sure the width of the whole logo you select is accurate it must be the same as you wrote in your skin XMLs, in the part of Shareaza CMainWnd:

    <part name="TopLeft" rect="x,x,Width,x"/>
  3. Reflejar la nueva imagen.

  4. Verifica los siguientes tamaños:

    • nCaptionOffset = This is the offset between x=0 of your new mirrored image to the start of Shareaza caption. Part 1 in the logo image above.

    • nCaptionWidth = This is the width between the start of Shareaza caption and the end of Shareaza caption you want to mirror. Part 2 in the logo image above.

    • nSystemOffset = This is the offset between the end of Shareaza caption to the start of Shareaza System icon. Part 3 in the logo image above.

    • nSytemWidth = This is the width between the start of Shareaza icon and the end of Shareaza icon. Part 4 in the logo image above.

  5. Just above "minimize" anchor in the Main Window in your skin XMLs, add this with the values you've found:

    <anchor name="Mirror" rect="nCaptionOffset,nCaptionWidth,nSystemOffset,nSytemWidth"/>
  6. En caso de que el icono también necesita ser reflejado usa "MirrorFull" en lugar de "Mirror".

  7. Test the result, sometimes it won't go exactly as planned, and values will need to be changed manually +1/-1.

[ Regresar a Skins de Shareaza ]

  • en
  • es
  • fr
  • de
  • hr
  • it
  • lt
  • nl
  • nb
  • pl
  • pt
  • sl
  • tr
  • el
  • he
  • ja
  • zh-tw
  • en
  • ca
  • fa
  • ru
Mucha gente contribuye con su tiempo y dedicación a Shareaza. Por favor visita la página de reconocimientos.
Visit Shareaza's Project Page at SourceForge.net
< Inicio de Página | Contáctanos >