製作外觀的教學

[ Back to Shareaza Skinning ]

新增的 RTL (由右至左顯示) 的相容性

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.

測試您的外觀是否正確運作.

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

Logo RTL

If the Logo doesn't look right, follow these steps:

  1. 開啟您的影像編輯軟體.

  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. Mirror the new image.

  4. 請記住以下的大小:

    • 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. In case the icon needs to be mirrored too use the name "MirrorFull" instead of "Mirror".

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

[ Back to Shareaza Skinning ]

  • en
  • es
  • fr
  • de
  • hr
  • it
  • lt
  • nl
  • nb
  • pl
  • pt
  • sl
  • tr
  • el
  • he
  • ja
  • zh-tw
  • en
  • ca
  • fa
  • ru
許多人貢獻他們的精力與時間在 Shareaza. 請閱讀我們的 致謝 頁面.
Visit Shareaza's Project Page at SourceForge.net
< 頁面頂端 | 聯絡我們 >