|
发表于 2007-11-12 19:34:00
|
显示全部楼层
BOINC SkinFrom Unofficial BOINC Wiki
Jump to: navigation, search
[edit] General
Beginning with Version 5.8.0 the BOINC Manager has two faces. The Advanced View that has been around for some time and the new Simple View. (Open it by clicking "View" -> "Simple View" in the menubar, switch back by clicking button "Advanced View")
The styles of this Simple View are changeable with BOINC Skins. Projects, Participants and Teams may create and share BOINC Skins. The BOINC Skin consists of a file named "skins.xml" and several graphic files, they are all stored in a folder under the skins folder in the BOINC folder. To change the view to another installed BOINC Skin, open the Simple View, click on button "Preferences", choose another BOINC Skin in the menu and click on the "Save" button.
[edit] Install BOINC Skins
Each BOINC Skin is in it's own skin folder stored in a BOINC sub-folder called "skins". If one does not exist yet please create it manually and copy the skin folder into it. For example "C:\Program Files\BOINC\skins\skinfolder".
[edit] Create BOINC Skins
如何创建BOINC皮肤
A BOINC Skin is a folder including a file "skin.xml" and graphic files, this includes all the graphics/icons belonging to the skin.
一个BOINC皮肤,是一个包含"skin.xml"文件和图片,这些图片与图标都属于该皮肤。
The skin.xml file stores all the skin name, graphic names, the button- and icon names, link URLs, line and registry tab colors and their relationship to the skin. Just change an existing, or create a new one.
skin.xml文件储存了皮肤的名称,图片名称,按键与图标的名称,超级链接,line and registry tab colors以及它们的对皮肤的关系。修改,或者制作个新的。
The following Graphics are needed in exact sizes:
下面是图像的精确尺寸:
- background_image - 540px x 410px. Simple GUI background image.
- spacer_image - 11px x 2px. Separate the links on the bottom of the Simple GUI.
- state_indicator_background_image - 35px x 264px.
- connecting_indicator_image - 15px x 14px.
- error_indicator_image - 20px x 69px.
- workunit_tab_area_background_image - 24px x 343px.
- workunit_area_background_image - 314px x 343px.
- workunit_animation_background_image - 146px x 294px.
- workunit_animation_image - 126px x 290px.
- workunit_gauge_background_image - 18px x 258px.
- workunit_gauge_progress_indicator_image - 7px x 8px.
- project_area_background_image - 113px x 343px.
- project_image - 40px x 40px. Default image to display for a project that does not currently have an image defined.
- attach_project_button - 18px x 81px.
- right_arrow_button - 20px x 20px.
- left_arrow_button - 20px x 20px.
- save_button - 16px x 57px.
- cancel_button - 16px x 57px.
- close_button - 16px x 57px.
- copy_all_button - 18px x 85px.
- copy_button - 18px x 85px.
- messages_link_image - 20px x 70px.
- messages_alert_link_image - 20px x 70px.
- suspend_link_image - 20px x 59px.
- resume_link_image - 20px x 59px.
- preferences_link_image - 20px x 81px.
- advanced_link_image - 20px x 101px.
- dialog_background_image - 600px x 800px.
- help_button - 18px x 18px.
All graphics are in a strict relationship to the main skin background image!
所有图片都与主皮肤背景图片有着严格的关系!
An easy way to cut them from the background_image exactly is to use templates. You can download templates.
准确地从背景图片中将它们切出,可以使用模版。你可以在这里下载模版。
The standard graphic format is *.png, but it's possible to use some others (jpg, gif ... ), but take care to include the description in skin.xml also!
基础图片格式是*.png,但用其它的(jpg, gif ...)也是可以的,但注意也要包含在skin.xml里!
Related Links 相关链接


既然这水塔那么高,借一方水地装我点沙子 。。//请大家尽情无视我。。
[ 本帖最后由 cnchina 于 2007-11-13 13:28 编辑 ] |
|