lgp 发表于 2005-4-13 12:18:20

[原创]很多人问的:右式皮肤变左式的修改方法

自己弄了个XML文件.但无法上上传附件-_-
只能自己改了
将下面的全部代码粘贴在data\skins\你要改的皮肤\panels中的
global panels.xml文件中,用记事本打开,先要将原文件中的代码全删掉,最好再备份一下
我测试的决大多数皮肤都行
左改右就不用了,大多数皮肤都是有右无左的


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">

<!-- this file lists the global panels that should be installed -->
<panel name="global panels" version="1.0">

        <!-- background picture - covers entire screen -->
        <widget class="background" id="bgnd" file="backgrounds/default">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
        </widget>
       
        <!--
        <widget class="background" id="bgnd" file="backgrounds/colors">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
                <integer id="cmod" value="1"/>       
        </widget>       
        -->
       
        <!-- Panels Box -->
        <!-- Contains global panels - also the container for the screen -->
        <container id="pnls">
   
                <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
                  
                <!-- header area at top of screen - with title, menus, etc -->
                <container id="head" file="header">
                        <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
                        <attachment class="test_global_attachment" get_property="FS" value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
                </container>
               
                   <!-- footer area at bottom of screen - with ticker, breadcrumbs, etc -->
                <container id="foot" file="footer">
                        <layout class="stick_to_sides_attachment" alignment="horizontal, bottom" inset="0"/>
                        <attachment class="test_global_attachment" get_property="FS" value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
                </container>

                   <!-- sections area on the side of the screen -->
                <container id="sect" file="sections">
            <!-- stick to left of screen -->
                        <layout class="stick_to_sides_attachment" alignment="left"/>
                  <layout class="fit_children_attachment" alignment="horizontal" offset="0"/>
                  
                        <!-- stick to bottom of header panel -->
                        <layout class="stick_to_object_attachment" target="head" get_side="bottom" set_side="top" inset="0"/>
                       
                        <!-- stick to top of footer panel -->
                        <layout class="stick_to_object_attachment" target="foot" get_side="top" set_side="bottom" inset="0"/>
                        <attachment class="test_global_attachment" get_property="FS" value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
                </container>

      <!-- screen content area -->
      <container id="scca">
                        <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/>
            <layout class="fill_space_attachment" inset="4"/>
      </container>
        </container>

        <!-- modal area -->       
        <container id="modl">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
        </container>

        <!-- progress panel -->       
        <container class="progress_panel">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
      <attachment class="get_global_attachment" get_property="prgp" set_property="prgp"/>
        </container>

            
            
        <widget class="action_button" text="Exit Full Screen" auto_size="all">
                <event id="click_event" event_id="TgFS" event_target="scrn"/>
                <attachment class="test_global_attachment" get_property="FS" value="true" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
               
                <layout class="stick_to_sides_attachment" alignment="bottom" inset="15"/>
                <layout class="stick_to_sides_attachment" alignment="right" inset="10"/>
       
        </widget>


</panel>
页: [1]
查看完整版本: [原创]很多人问的:右式皮肤变左式的修改方法