﻿<?xml version="1.0" encoding="UTF-8"?>
<root>
    <RenderCfg>
        <Channel4CanvasID value="9" Describe="4 channel canvas"/>
        <NormalCanvasID value="9"  Describe="tpf内部自动创建 canvas(1:DC; 2:xImage;)"/>
        <UpdateUIMode value="2"  Describe="refresh mode(0:更新驱动刷新; 1:全屏刷新)"/>
        <DirtyRegion value="true" Describe="dealwith dirty region"/>
        <ImgEngine value="0" Describe="正常模式下用的引擎(0:ximage;1:mgimage;2:gbimage;3:xxzgbimage;4:xgame)"/>
        <FontEngine value="0" Describe="(0:dcfont;1:mgfont;2:gbfont;3:xxzgbfont;4:xgame)"/>
        <Img3DEngine value="2" Describe="同时使用两种引擎时的第二种引擎(2:gbimage;3:xxzgbimage;4:xgame)"/>
        <Font3DEngine value="2" Describe="(2:gbfont;3:xxzgbfont;4:xgame)"/>
        <DPIAwareMode value="1" Describe="(0:无DPI感知;1:DPI感知)"/>
        <UseGDIPlus  value="1" />
        <UpdateLayerWindowOnPaint value="1" Describe="(0:立刻重会update layeredwindow,1在onPaint事件里一次绘制)" />
    </RenderCfg>
    <PathCfg>
        <vfs use="0" file="res.vfs" />
        <ResRootPath value="tpf_ui\res\" usevfs="1" />
        <StyleRootPath value="tpf_ui\style\" />
        <LayoutRootPath value="tpf_ui\layout\" />
        <LibRootPath value="tpf_ui\colorLib\" />
        <ScriptRootPath value="tpf_ui\lua_script\" />
        <Name2IDFileRootPath value="config\name2id.xml" />
        <CursorConfigFile value="config\cursor.xml" />
        <CustomEventFile value="config\customevent.xml" />
        <LocalizationFile value="tpf_ui\localization\lang_cfg\zh-cn\" />
        <URLFile value="tpf_ui\localization\url_cfg\cn\" />
        <I18NPath value="tpf_ui\localization\i18n\" />
		<!--  
		配置不同模式时资源文件的相对路径
		is_normal="true"   设置默认风格
		<skin_mode>
            <dark_mode value="" is_normal="true"/>
            <light_mode value="\light_mode\" />
        </skin_mode>
		-->
		<skin_mode>
            <dark_mode value="" />
            <light_mode value="\light_mode\" />
        </skin_mode>
    </PathCfg>
    <Default>
        <Font value="-12;0;0;0;400;0;0;0;134;3;2;1;2;微软雅黑"/>
    </Default>
    <OtherCfg>
        <!-- 拖拽模式 0:左键按下同时进行拖拽；1:左键单击进行拖拽
        拖放启动模式　0:左键按下不移动过DelayTime毫秒后Start；1:左键按下移动PixelNumber个像素后Start; 2:两个条件满足一个就Start-->
        <Drag DragMode="1" StartMode="2" DelayTime="300" PixelNumber="5"/>
        <!--Combobox的分隔符-->
        <Delimiter Value=","/>
        <Locale value="zh_CN"/>
    </OtherCfg>
</root>