<interface_config>
  <root id="interface"
        x="0"
        y="0"
        w="800"
        h="600"
        active="true" />
  <lua file="game_config.lua" />
  <!-- ******************** -->
  <!-- * UI COLOR & ALPHA * -->
  <!-- ******************** -->
  <!-- ********* -->
  <!-- Templates -->
  <!-- ********* -->
  <!-- all container must be initialized with those templates to use data exchange -->
  <style style="sgc_title"
         type="text"
         color="255 255 255 255"
         fontsize="14"
         shadow="true"
         case_mode="%case_first_string_letter_up" />
  <style style="sgc_title2"
         type="text"
         color="255 255 255 192"
         fontsize="12"
         shadow="true" />
  <!-- WIDGET TO CHOOSE A COLOR -->
  <!-- the modal window (with the color picker) -->
  <group type="modal"
         id="define_mcw_color"
         exit_click_out="true"
         posref="TR TR"
         w="276"
         h="110"
         global_color="false"
         options="skin_modal"
         on_enter="lua"
         on_enter_params="game:mcwValidateColor()">
    <view type="text"
          id="text"
          posref="TL TL"
          x="4"
          y="-4"
          color="255 255 255 255"
          fontsize="12"
          shadow="true"
          global_color="false"
          hardtext="uiDefmcwCol" />
    <view type="bitmap"
          id="pick_back"
          posref="MM MM"
          x="0"
          y="0"
          scale="true"
          color="0 0 0 255"
          w="260"
          h="68"
          texture="blank.tga" />
    <ctrl type="colpick"
          id="pick"
          posref="MM MM"
          x="0"
          y="0"
          texture="color_palette.tga"
          onchange="lua"
          onchange_params="game:mcwOnColorChanged()" />
    <ctrl type="colpick"
          id="pick2"
          posref="MM MM"
          x="0"
          y="0"
          texture="color_palette2.tga"
          onchange="lua"
          onchange_params="game:mcwOnColorChanged()" />
    <instance template="button_ok_cancel"
              posref="BR BR"
              x="-4"
              y="4"
              ok_text="uittGCValid"
              cancel_text="uittGCCancel"
              onclick_ok="lua"
              onclick_ok_param="game:mcwValidateColor()"
              onclick_cancel="leave_modal"
              onclick_cancel_param="" />
  </group>
  <!-- the 2 templates (one for each palette type) -->
  <template name="tgcw_color"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="14">
      <ctrl type="button"
            id="c"
            button_type="push_button"
            posref="TL TL"
            x="0"
            y="0"
            global_color_normal="false"
            tx_normal="W_affected.tga"
            tx_pushed="W_affected.tga"
            tx_over="W_button_14_over.tga"
            global_color_over="false"
            onclick_l="lua"
            params_l="game:mcwChooseColor('#title',0)"
            tooltip="#tooltip"
            global_color_pushed="false" />
      <view type="text"
            id="text"
            posparent="c"
            posref="MR ML"
            x="4"
            y="-1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true"
            hardtext="#text" />
    </group>
  </template>
  <template name="tgcw_color2"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="14">
      <ctrl type="button"
            id="c"
            button_type="push_button"
            posref="TL TL"
            x="0"
            y="0"
            global_color_normal="false"
            tx_normal="W_affected.tga"
            tx_pushed="W_affected.tga"
            tx_over="W_button_14_over.tga"
            global_color_over="false"
            onclick_l="lua"
            params_l="game:mcwChooseColor('#title',1)"
            tooltip="#tooltip"
            global_color_pushed="false" />
      <view type="text"
            id="text"
            posparent="c"
            posref="MR ML"
            x="4"
            y="-1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true"
            hardtext="#text" />
    </group>
  </template>
  <!-- WIDGET TO CHOOSE AN INTEGER FROM A SCROLL BAR -->
  <template name="tgcw_scrollbarint"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="20">
      <view type="bitmap"
            id="bk"
            posref="BL BL"
            scale="true"
            y="4"
            w="86"
            h="2"
            texture="W_line_hor2.tga" />
      <view type="text"
            id="text"
            posparent="bk"
            posref="TL BL"
            x="0"
            y="1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true"
            hardtext="#text" />
      <ctrl type="scroll"
            id="c"
            posparent="bk"
            posref="MM MM"
            x="0"
            y="-1"
            w="86"
            h="8"
            vertical="false"
            align="L"
            min="0"
            max="255"
            tracksize="8"
            tx_topright="w_scroll_R.tga"
            tx_middle="w_scroll_l123_m.tga"
            tx_bottomleft="w_scroll_L.tga"
            onscroll="ddx_scroll"
            onscrollend="ddx_scroll_end"
            params="ui:interface:game_config:content:all" />
      <!-- The Scroll Result view-->
      <view type="text"
            id="c_res"
            posparent="bk"
            posref="MR ML"
            x="8"
            y="1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true" />
    </group>
  </template>
  <!-- WIDGET TO CHOOSE A FLOAT FROM A SCROLL BAR -->
  <template name="tgcw_scrollbarfloat"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="20">
      <view type="bitmap"
            id="bk"
            posref="BL BL"
            scale="true"
            y="4"
            w="86"
            h="2"
            texture="W_line_hor2.tga" />
      <view type="text"
            id="text"
            posparent="bk"
            posref="TL BL"
            x="0"
            y="1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true"
            hardtext="#text" />
      <ctrl type="scroll"
            id="c"
            posparent="bk"
            posref="MM MM"
            x="0"
            y="-1"
            w="86"
            h="8"
            vertical="false"
            align="L"
            min="0"
            max="255"
            tracksize="8"
            tx_topright="w_scroll_R.tga"
            tx_middle="w_scroll_l123_m.tga"
            tx_bottomleft="w_scroll_L.tga"
            onscroll="ddx_scroll"
            onscrollend="ddx_scroll_end"
            params="ui:interface:game_config:content:all" />
      <!-- The Scroll Result view-->
      <view type="text"
            id="c_res"
            posparent="bk"
            posref="MR ML"
            x="8"
            y="1"
            color="255 255 255 192"
            fontsize="10"
            shadow="true" />
    </group>
  </template>
  <!-- WIDGET TO CHOOSE A BOOLEAN FROM A CHECK BOX -->
  <template name="tgcw_checkbox"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent"
            tooltip="">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="14">
      <ctrl type="button"
            id="c"
            button_type="toggle_button"
            posref="TL TL"
            x="0"
            y="0"
            tx_normal="w_slot_on.tga"
            tx_pushed="w_opacity_on.tga"
            tx_over="w_slot_on.tga"
            color="255 255 255 255"
            col_pushed="255 255 255 255"
            col_over="255 255 255 0"
            onclick_l="ddx_bool_button"
            tooltip="#tooltip" />
      <view type="text"
            id="text"
            posparent="c"
            posref="MR ML"
            x="4"
            y="-1"
            color="255 255 255 192"
            fontsize="12"
            shadow="true"
            hardtext="#text" />
    </group>
  </template>
  <template name="tgcw_checkbox2"
            id="color_chooser"
            posref="TL TL"
            x="0"
            y="0"
            posparent="parent">
    <group id="#id"
           posref="#posref"
           x="#x"
           y="#y"
           posparent="#posparent"
           child_resize_w="true"
           h="14">
      <ctrl type="button"
            id="c"
            button_type="toggle_button"
            posref="TL TL"
            x="0"
            y="0"
            tx_normal="w_slot_on.tga"
            tx_pushed="w_opacity_on.tga"
            tx_over="w_slot_on.tga"
            color="255 255 255 255"
            col_pushed="255 255 255 255"
            col_over="255 255 255 0"
            onclick_l="ddx_bool_button" />
      <view type="text"
            id="text"
            posparent="c"
            posref="MR ML"
            x="4"
            y="-2"
            color="255 255 255 192"
            fontsize="10"
            shadow="true"
            hardtext="#text" />
    </group>
  </template>
  <!-- WIDGET TO CHOOSE A DEFAULT SETUP -->
  <template name="tgcw_combo_default"
            id="combo_default"
            posparent="parent"
            posref="TL TL"
            x="0"
            y="-18"
            value="">
    <group id="#id"
           w="160"
           h="20"
           posparent="#posparent"
           posref="#posref"
           x="#x"
           y="#y">
      <view type="text"
            id="text"
            posparent="#posparent"
            posref="ML ML"
            x="0"
            y="-2"
            color="255 255 255 192"
            fontsize="12"
            shadow="true"
            hardtext="uigcPreSet" />
      <group type="combo_box"
             id="combo"
             posref="MR MR"
             x="0"
             y="0"
             w="90"
             h="20"
             value="#value">
        <instance template="combo_box_def1" />
        <combo_text name="uigcPreSetLow" />
        <combo_text name="uigcPreSetMedium" />
        <combo_text name="uigcPreSetNormal" />
        <combo_text name="uigcPreSetHigh" />
        <combo_text name="uigcPreSetCustom" />
      </group>
    </group>
  </template>
  <!-- ************** -->
  <!-- Main container -->
  <!-- ************** -->
  <variable entry="UI:TEMP:VID_MODE"
            type="sint32"
            value="-1" />
  <variable entry="UI:TEMP:VID_FREQ"
            type="sint32"
            value="-1" />
  <variable entry="UI:TEMP:PRESET_LAND"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:PRESET_CHAR"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:PRESET_FX"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:TEXTURE_MODE"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:LANGUAGE"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:SCREEN_RATIO_MODE"
            type="sint32"
            value="0" />
  <define id="game_config_screen_ratio_eb"
          value="ui:interface:game_config:content:general:screen_ratio:edit:eb" />
  <define id="game_config_screen_ratio_cb"
          value="ui:interface:game_config:content:general:screen_ratio:combo" />
  <proc id="game_config_init">
    <action handler="set"
            params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=1" />
    <action handler="ddx_init"
            params="ui:interface:game_config:content:all" />
    <action handler="tree_reset"
            params="ui:interface:game_config:content:sbtree:tree_list" />
    <action handler="lua"
            params="game:configShowOne('explanation')" />
    <action handler="lua"
            params="game:configInit()" />
  </proc>
  <proc id="game_config_uninit">
    <!-- Yoyo: on close window, same than cancel! -->
    <action handler="ddx_cancel"
            params="ui:interface:game_config:content:all" />
    <action handler="game_config_cancel"
            params="" />
    <action handler="set"
            params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=0" />
  </proc>
  <proc id="game_config_ok">
    <action handler="proc"
            params="game_config_apply" />
    <action handler="set"
            params="target_property=ui:interface:game_config:active|value=0" />
  </proc>
  <proc id="game_config_apply">
    <action handler="game_config_change_screen_ratio_custom"
            params="" />
    <action handler="ddx_update"
            params="ui:interface:game_config:content:all" />
    <action handler="game_config_apply"
            params="" />
  </proc>
  <proc id="game_config_cancel">
    <action handler="ddx_cancel"
            params="ui:interface:game_config:content:all" />
    <action handler="game_config_cancel"
            params="" />
    <action handler="set"
            params="target_property=ui:interface:game_config:active|value=0" />
  </proc>
  <group type="container"
         id="game_config"
         w="432"
         h="400"
         title="uiGlobalSettingsTitle"
         global_color="false"
         line_at_bottom="false"
         movable="true"
         active="false"
         opened="true"
         openable="false"
         resizer="true"
         header_color="UI:SAVE:WIN:COLORS:OPT"
         on_active="proc"
         on_active_params="game_config_init"
         on_deactive="proc"
         on_deactive_params="game_config_uninit"
         pop_min_w="430"
         pop_min_h="240"
         pop_max_w="800"
         pop_max_h="600">
    <group id="header_closed"
           x="0"
           y="0"
           child_resize_w="true"
           h="16"
           posref="TL TL"
           group_onclick_r="active_menu"
           group_params_r="menu=ui:interface:base_menu_with_color">
           </group>
    <group id="header_opened"
           x="0"
           y="0"
           w="430"
           h="16"
           posref="TL TL"
           group_onclick_r="active_menu"
           group_params_r="menu=ui:interface:base_menu_with_color">
      <!--
                <view type="text_number" id="fps" posref="MR MR" x="-20" y="-2" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:FPS" global_color="false" positive="true"/>
                <view type="text" id="fpstext" posref="MR MR" x="-40" y="-2" color="255 255 255 255" shadow="true" fontsize="10" global_color="false" positive="true" hardtext="uiFPS" />
                -->
    </group>
    <group id="content"
           x="0"
           y="0"
           sizeref="wh"
           w="0"
           h="0"
           posref="TL TL">
      <group id="sbtree"
             posref="TL TL"
             sizeref="w3h"
             x="0"
             w="-14"
             y="-4"
             h="-4">
        <group id="tree_list"
               type="tree"
               posref="TL TL"
               x="14"
               y="0"
               col_over="255 255 255 48"
               col_select="255 255 255 80"
               max_sizeparent="parent"
               max_sizeref="wh"
               max_w="-10"
               max_h="0">
          <node id="language"
                name="uigcLanguage"
                handler="lua"
                params="game:configShowOne('language')"
                fontsize="11"
                y_decal="-1" />
          <node id="inter"
                name="uigcInterface"
                handler=""
                params=""
                fontsize="11"
                y_decal="-1">
            <node id="hud"
                  name="uigcHUD"
                  handler="lua"
                  params="game:configShowOne('hud')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="aco"
                  name="uigcAlphaColor"
                  handler="lua"
                  params="game:configShowOne('alpha_colors')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="winco"
                  name="uigcWinColor"
                  handler="lua"
                  params="game:configShowOne('win_colors')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="winco_r2"
                  name="uigcWinColorR2"
                  handler="lua"
                  params="game:configShowOne('win_colors_r2')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="chatco"
                  name="uigcChatColor"
                  handler="lua"
                  params="game:configShowOne('chat_colors')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="entityco"
                  name="uigcEntityColor"
                  handler="lua"
                  params="game:configShowOne('entity_colors')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="in_scene"
                  name="uigcInSceneInterface"
                  handler=""
                  params=""
                  fontsize="11"
                  y_decal="-1">
              <node id="in_scene_user"
                    name="uigcInSceneInterfaceUser"
                    handler="lua"
                    params="game:configShowOne('in_scene_user')"
                    fontsize="10"
                    y_decal="-1" />
              <node id="in_scene_friend"
                    name="uigcInSceneInterfaceFriend"
                    handler="lua"
                    params="game:configShowOne('in_scene_friend')"
                    fontsize="10"
                    y_decal="-1" />
              <node id="in_scene_enemy"
                    name="uigcInSceneInterfaceEnemy"
                    handler="lua"
                    params="game:configShowOne('in_scene_enemy')"
                    fontsize="10"
                    y_decal="-1" />
              <node id="in_scene_chat_messages"
                    name="uigcInSceneChatMessages"
                    handler="lua"
                    params="game:configShowOne('in_scene_chat_messages')"
                    fontsize="10"
                    y_decal="-1" />
            </node>
            <node id="landmarkco"
                  name="uigcLandmarkColor"
                  handler="lua"
                  params="game:configShowOne('landmark_colors')"
                  fontsize="10"
                  y_decal="-1" />				
            <node id="help"
                  name="uimHelp"
                  handler="lua"
                  params="game:configShowOne('help')"
                  fontsize="10"
                  y_decal="-1" />
          </node>
          <node id="input"
                name="uigcInput"
                handler=""
                params=""
                fontsize="11"
                y_decal="-1">
            <node id="mou"
                  name="uigcMouse"
                  handler="lua"
                  params="game:configShowOne('mouse')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="key"
                  name="uigcKeyboard"
                  handler="lua"
                  params="game:configShowOne('keyb')"
                  fontsize="10"
                  y_decal="-1" />
          </node>
          <node id="graph"
                name="uigcGraph"
                handler=""
                params=""
                fontsize="11"
                y_decal="-1">
            <node id="gen"
                  name="uigcGeneral"
                  handler="lua"
                  params="game:configShowOne('general')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="lan"
                  name="uigcLandscape"
                  handler="lua"
                  params="game:configShowOne('landscape')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="cha"
                  name="uigcCharacter"
                  handler="lua"
                  params="game:configShowOne('char')"
                  fontsize="10"
                  y_decal="-1" />
            <node id="fxs"
                  name="uigcSpecialFX"
                  handler="lua"
                  params="game:configShowOne('fx')"
                  fontsize="10"
                  y_decal="-1" />
          </node>
          <node id="sound"
                name="uigcSound"
                handler="lua"
                params="game:configShowOne('sound')"
                fontsize="11"
                y_decal="-1" />
        </group>
        <ctrl style="skin_scroll"
              id="scroll_bar"
              align="T"
              target="tree_list" />
      </group>
      <!-- ok, apply, cancel -->
      <ctrl style="text_button_16"
            id="cancel"
            posref="BR BR"
            y="1"
            wmargin="8"
            hardtext="uiGCCancel"
            color="255 255 255 255"
            col_over="255 255 255 255"
            col_pushed="255 255 255 255"
            onclick_l="proc"
            params_l="game_config_cancel" />
      <ctrl style="text_button_16"
            id="apply"
            posparent="cancel"
            posref="TL TR"
            x="-4"
            wmargin="8"
            hardtext="uiGCApply"
            color="255 255 255 255"
            col_over="255 255 255 255"
            col_pushed="255 255 255 255"
            onclick_l="proc"
            params_l="game_config_apply"
            frozen="true" />
      <ctrl style="text_button_16"
            id="ok"
            posparent="apply"
            posref="TL TR"
            x="-4"
            wmargin="8"
            hardtext="uiGCOk"
            color="255 255 255 255"
            col_over="255 255 255 255"
            col_pushed="255 255 255 255"
            onclick_l="proc"
            params_l="game_config_ok" />
      <!-- Tabs -->
      <!-- *** -->
      <group id="graph"
             posref="TR TR"
             x="0"
             y="-4"
             sizeref="w7h"
             w="-4"
             h="-24">
        <instance template="box_widget"
                  id="back"
                  sizeref="wh"
                  w="0"
                  h="0" />
      </group>
      <group id="crop"
             posparent="graph"
             posref="MM MM"
             x="0"
             y="0"
             sizeref="wh"
             w="-4"
             h="-12" />
      <!-- Explanation -->
      <group id="explanation"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <group type="scroll_text"
               id="explanation_txt"
               sizeref="w"
               child_resize_h="true"
               child_resize_wmargin="16"
               child_resize_hmargin="16"
               posref="TL TL"
               x="0"
               y="0"
               min_height="160"
               max_height="160">
          <group type="list"
                 id="text_list"
                 hardtext="uiCongifExplanation"
                 shadow="true"
                 fontsize="10"
                 justification="justified"
                 color="255 255 255 160"
                 space="3"
                 global_color="true"
                 posref="TL TL"
                 x="8"
                 y="-8"
                 sizeref="hw"
                 w="-16"
                 h="-16" />
        </group>
      </group>
      <ctrl style="skin_scroll"
            id="sb_explanation"
            align="T"
            target="explanation"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="general"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Color -->
        <view style="sgc_title"
              type="text"
              id="gcol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiGeneralColor" />
        <view style="sgc_title2"
              type="text"
              id="screen"
              posref="TL TL"
              x="0"
              y="-20"
              hardtext="uiScreen" />
        <instance template="tgcw_scrollbarfloat"
                  id="con"
                  text="uiContrast"
                  posref="BL TL"
                  posparent="screen"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="lum"
                  text="uiLuminosity"
                  posref="BL TL"
                  posparent="con"
                  x="0"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="gam"
                  text="uiGamma"
                  posref="BL TL"
                  posparent="lum"
                  x="0"
                  y="-2" />
        <instance template="tgcw_checkbox"
                  id="waitvbl"
                  text="uiWaitVBL"
                  posparent="gam"
                  posref="BL TL"
                  x="-20"
                  y="-28" />
        <!-- Special case for video modes -->
        <group id="fullscreen"
               posref="TR TR"
               x="-16"
               y="-30"
               child_resize_w="true"
               h="14">
          <ctrl type="button"
                id="c"
                button_type="toggle_button"
                posref="TL TL"
                x="0"
                y="0"
                tx_normal="w_slot_on.tga"
                tx_pushed="w_opacity_on.tga"
                tx_over="w_slot_on.tga"
                color="255 255 255 255"
                col_pushed="255 255 255 255"
                col_over="255 255 255 0"
                onclick_l="game_config_change_vid_fullscreen"
                params_l="" />
          <view type="text"
                id="text"
                posparent="c"
                posref="MR ML"
                x="4"
                y="-2"
                color="255 255 255 192"
                fontsize="12"
                shadow="true"
                hardtext="uiFullscreen" />
        </group>
        <group type="combo_box"
               id="video_modes"
               w="90"
               h="20"
               value="UI:TEMP:VID_MODE"
               posparent="fullscreen"
               posref="BL TL"
               x="0"
               y="-4">
          <instance template="combo_box_def1" />
        </group>
        <link expr="@UI:TEMP:VID_MODE"
              action="game_config_change_vid_mode" />
        <group type="combo_box"
               id="video_freqs"
               w="60"
               h="20"
               value="UI:TEMP:VID_FREQ"
               posparent="video_modes"
               posref="BL TL"
               x="0"
               y="-4">
          <instance template="combo_box_def1" />
        </group>
        <link expr="@UI:TEMP:VID_FREQ"
              action="game_config_change_vid_freq" />
        <!-- Special case for texture modes -->
        <group id="texture_mode"
               posparent="waitvbl"
               posref="BL TL"
               x="0"
               y="-12"
               w="240"
               h="20">
          <view type="text"
                id="text"
                posref="ML ML"
                x="0"
                y="0"
                color="255 255 255 192"
                fontsize="12"
                shadow="true"
                hardtext="uigcTextureMode" />
          <group type="combo_box"
                 id="combo"
                 w="140"
                 h="20"
                 value="UI:TEMP:TEXTURE_MODE"
                 posref="MR ML"
                 posparent="text"
                 x="4"
                 y="0">
            <instance template="combo_box_def1" />
          </group>
          <link expr="@UI:TEMP:TEXTURE_MODE"
                action="game_config_change_texture_mode" />
        </group>
        <!-- Special case for Screen Aspect Ratio -->
        <!-- see game_config_screen_ratio_* defines -->
        <group id="screen_ratio"
               posparent="texture_mode"
               posref="BL TL"
               x="0"
               y="-12"
               w="240"
               h="52">
          <view type="text"
                id="text"
                posref="TL TL"
                x="0"
                y="-4"
                color="255 255 255 192"
                fontsize="12"
                shadow="true"
                hardtext="uigcScreenRatio" />
          <instance template="text_tt"
                    posparent="text"
                    tooltip="uigcttScreenRatio" />
          <instance template="edit_box_widget"
                    id="edit"
                    posparent="text"
                    posref="MR ML"
                    x="4"
                    y="0"
                    text_x="0"
                    text_ref="BR BR"
                    w="100"
                    prompt=""
                    enter_loose_focus="true"
                    multi_line="false"
                    onenter="game_config_change_screen_ratio_custom"
                    enter_recover_focus="false"
                    reset_focus_on_hide="true"
                    max_historic="0"
                    entry_type="positive_float"
                    max_float_prec="5"
                    onchange="set"
                    onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0" />
          <group type="combo_box"
                 id="combo"
                 w="140"
                 h="20"
                 value="UI:TEMP:SCREEN_RATIO_MODE"
                 posref="BL TL"
                 posparent="text"
                 x="40"
                 y="-8">
            <instance template="combo_box_def1" />
            <combo_text name="uigcScreenRatio43" />
            <combo_text name="uigcScreenRatio169" />
            <combo_text name="uigcScreenRatioCustom" />
            <combo_text name="uiConfigAuto" />
          </group>
          <link expr="@UI:TEMP:SCREEN_RATIO_MODE"
                action="game_config_change_screen_ratio_mode" />
        </group>
      </group>
      <ctrl style="skin_scroll"
            id="sb_general"
            align="T"
            target="general"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="landscape"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              type="text"
              id="glan"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiLandGeneral" />
        <instance template="tgcw_combo_default"
                  value="UI:TEMP:PRESET_LAND" />
        <view style="sgc_title2"
              type="text"
              id="lan"
              posref="TL TL"
              x="0"
              y="-44"
              hardtext="uiLand" />
        <!-- NB float are mul by 10000 -->
        <instance template="tgcw_scrollbarfloat"
                  id="lvi"
                  text="uiVision"
                  posparent="lan"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="ltn"
                  text="uiTileNear"
                  posparent="lvi"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="lth"
                  text="uiThreshold"
                  posparent="ltn"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_checkbox"
                  id="lmv"
                  text="uiMicroVeget"
                  posparent="lth"
                  posref="BL TL"
                  x="-20"
                  y="-12" />
        <instance template="tgcw_scrollbarfloat"
                  id="mvd"
                  text="uiMicroVegetDensity"
                  posparent="lmv"
                  posref="BL TL"
                  x="20"
                  y="-2" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_landscape"
            align="T"
            target="landscape"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="char"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              type="text"
              id="cpol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiCharPoly" />
        <instance template="tgcw_combo_default"
                  value="UI:TEMP:PRESET_CHAR" />
        <view style="sgc_title2"
              type="text"
              id="model"
              posref="TL TL"
              x="0"
              y="-46"
              hardtext="uiCharModel" />
        <instance template="tgcw_scrollbarint"
                  id="maxpoly"
                  text="uiCharMaxPoly"
                  posref="BL TL"
                  posparent="model"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="maxnotclod"
                  text="uiCharMaxNotCLod"
                  posparent="maxpoly"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="farclip"
                  text="uiCharFarClip"
                  posparent="maxnotclod"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_checkbox"
                  id="race_anim"
                  text="uiEnableRacialAnimation"
                  posparent="farclip"
                  posref="BL TL"
                  x="-20"
                  y="-12" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_char"
            align="T"
            target="char"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="fx"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              type="text"
              id="gfx"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiFXGeneral" />
        <instance template="tgcw_combo_default"
                  value="UI:TEMP:PRESET_FX" />
        <view style="sgc_title2"
              type="text"
              id="limit"
              posref="TL TL"
              x="0"
              y="-46"
              hardtext="uiFxLimitations" />
        <instance template="tgcw_scrollbarint"
                  id="maxpoly"
                  text="uiFxMaxPoly"
                  posparent="limit"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <!--
                        <instance template="tgcw_checkbox" id="cloud" text="uiFxCloud" posparent="maxpoly" posref="BL TL" x="-20" y="-12" />
                        <instance template="tgcw_scrollbarfloat" id="cqual" text="uiFxCloudQuality" posparent="cloud" posref="BL TL" x="20" y="-2" />
                        <instance template="tgcw_scrollbarint" id="cup" text="uiFxCloudUpdate" posparent="cqual" posref="BL TL" x="0" y="-2" />
                        -->
        <instance template="tgcw_checkbox"
                  id="shadow"
                  text="uiFxShadow"
                  posparent="maxpoly"
                  posref="BL TL"
                  x="-20"
                  y="-12" />
        <group id="bloom_gr"
               posparent="shadow"
               sizeparent="parent"
               sizeref="w"
               h="100"
               posref="BL TL"
               x="0"
               y="-12"
               tooltip="uiFxTooltipBloom"
               tooltip_parent="win">
          <instance template="tgcw_checkbox"
                    id="bloom"
                    text="uiFxBloom"
                    posref="TL TL"
                    x="0"
                    y="0" />
          <instance template="tgcw_checkbox"
                    id="square_bloom"
                    text="uiFxSquareBloom"
                    posparent="bloom"
                    posref="BL TL"
                    x="20"
                    y="-2" />
          <instance template="tgcw_scrollbarfloat"
                    id="density_bloom"
                    text="uiFxDensityBloom"
                    posparent="square_bloom"
                    posref="BL TL"
                    x="0"
                    y="-2" />
        </group>
      </group>
      <ctrl style="skin_scroll"
            id="sb_fx"
            align="T"
            target="fx"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="hud"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Entities Names -->
        <view style="sgc_title"
              type="text"
              id="en"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiHud" />
        <!--<instance template="tgcw_checkbox" id="suc"  text="uiShowUnderCursor"               posref="TL TL" x="0" y="-20" />
                        <instance template="tgcw_checkbox" id="sta"  text="uiShowTargeted"                      posref="BL TL" posparent="suc"  x="0" y="-12" />-->
        <instance template="tgcw_checkbox"
                  id="swrc"
                  text="uiSelectWithRClick"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="foa"
                  text="uiFollowOnAtk"
                  posref="BL TL"
                  posparent="swrc"
                  x="0"
                  y="-12" />
        <instance template="tgcw_checkbox"
                  id="aos"
                  text="uiAtkOnSelect"
                  posref="BL TL"
                  posparent="foa"
                  x="0"
                  y="-12" />
        <instance template="tgcw_checkbox"
                  id="aet"
                  text="uiAutoEquipTool"
                  posref="BL TL"
                  posparent="aos"
                  x="0"
                  y="-12" />
        <instance template="tgcw_checkbox"
                  id="auc"
                  text="uiAutomaticCamera"
                  posref="BL TL"
                  posparent="aet"
                  x="0"
                  y="-12" />
        <instance template="tgcw_checkbox"
                  id="fade"
                  text="uiCharFade"
                  posref="BL TL"
                  posparent="auc"
                  x="0"
                  y="-12" />
        <instance template="tgcw_scrollbarint"
                  id="opamin"
                  text="uiCharOpacityMin"
                  posref="BL TL"
                  posparent="fade"
                  x="20"
                  y="-2" />
        <instance template="tgcw_checkbox"
                  id="cao"
                  text="uiCurrentActionOut"
                  tooltip="uittCurrentActionOut"
                  posref="BL TL"
                  posparent="opamin"
                  x="-20"
                  y="-12" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_hud"
            align="T"
            target="hud"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="language"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Language selector -->
        <view style="sgc_title"
              type="text"
              id="en"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uigcLanguage" />
        <group type="combo_box"
               id="languages"
               w="150"
               h="20"
               value="UI:TEMP:LANGUAGE"
               posref="TL TL"
               x="0"
               y="-20">
          <instance template="combo_box_def1" />
          <combo_text name="uigcEnglish" />
          <combo_text name="uigcFrancais" />
          <combo_text name="uigcDeutch" />
          <combo_text name="uigcRussian" />
        </group>
        <link expr="@UI:TEMP:LANGUAGE"
              action="game_config_change_language" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_language"
            align="T"
            target="language"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="alpha_colors"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Night and day colors -->
        <view style="sgc_title"
              type="text"
              id="gcol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiGlobalColor" />
        <view style="sgc_title2"
              type="text"
              id="gcol2"
              posref="TL TL"
              x="0"
              y="-20"
              hardtext="uiUIColor" />
        <instance template="tgcw_color"
                  id="col_day"
                  text="uiColorD"
                  title="uiDefDayCol"
                  tooltip="uittColDay"
                  posref="BL TL"
                  posparent="gcol2"
                  x="20"
                  y="-2" />
        <instance template="tgcw_color"
                  id="col_night"
                  text="uiColorN"
                  title="uiDefNightCol"
                  tooltip="uittColNight"
                  posref="BL TL"
                  posparent="col_day"
                  x="0"
                  y="-2" />
        <!-- Global Opacity -->
        <view style="sgc_title2"
              type="text"
              id="gopa"
              posref="BL TL"
              x="-20"
              y="-12"
              hardtext="uiGlobalOpacity"
              posparent="col_night" />
        <instance template="tgcw_scrollbarint"
                  id="ga_win"
                  text="uiAlphaBG"
                  posref="BL TL"
                  posparent="gopa"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="ga_con"
                  text="uiAlphaContent"
                  posref="BL TL"
                  posparent="ga_win"
                  x="0"
                  y="-2" />
        <!-- MouseOver Opacity -->
        <view style="sgc_title2"
              type="text"
              id="moopa"
              posref="BL TL"
              x="-20"
              y="-12"
              hardtext="uiMouseOverOpacity"
              posparent="ga_con" />
        <instance template="tgcw_scrollbarint"
                  id="moa_win"
                  text="uiAlphaRolloverBG"
                  posref="BL TL"
                  posparent="moopa"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="moa_con"
                  text="uiAlphaRolloverContent"
                  posref="BL TL"
                  posparent="moa_win"
                  x="0"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="moa_speed"
                  text="uiRolloverAlphaSpeed"
                  posref="BL TL"
                  posparent="moa_con"
                  x="0"
                  y="-2" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_alpha_colors"
            align="T"
            target="alpha_colors"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="chat_colors"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Chat colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiChatColors" />
        <instance template="tgcw_color"
                  id="cc_say"
                  text="uiSayColor"
                  title="uiCCDSay"
                  tooltip="uittChooseSayColor"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_color"
                  id="cc_tell"
                  text="uiTellColor"
                  title="uiCCDTell"
                  tooltip="uittChooseTellColor"
                  posref="BL TL"
                  posparent="cc_say"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_team"
                  text="uiTeamColor"
                  title="uiCCDTeam"
                  tooltip="uittChooseTeamColor"
                  posref="BL TL"
                  posparent="cc_tell"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_guild"
                  text="uiGuildColor"
                  title="uiCCDGuild"
                  tooltip="uittChooseGuildColor"
                  posref="BL TL"
                  posparent="cc_team"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_region"
                  text="uiRegionColor"
                  title="uiCCDRegion"
                  tooltip="uittChooseRegionColor"
                  posref="BL TL"
                  posparent="cc_guild"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_univ"
                  text="uiUnivColor"
                  title="uiCCDUniv"
                  tooltip="uittChooseUnivColor"
                  posref="BL TL"
                  posparent="cc_region"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_shout"
                  text="uiShoutColor"
                  title="uiCCDShout"
                  tooltip="uittChooseShoutColor"
                  posref="BL TL"
                  posparent="cc_univ"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="enter_dontquit_cb"
                  text="uiEnterDontQuitCB"
                  tooltip="uittChatEnter"
                  posparent="cc_univ"
                  posref="BL TL"
                  x="0"
                  y="-25" />
        <instance template="tgcw_scrollbarint"
                  id="font_size"
                  text="uiFontSize"
                  posref="BL TL"
                  posparent="enter_dontquit_cb"
                  x="0"
                  y="-8" />
        <link expr="@UI:SAVE:CHAT:ENTER_DONT_QUIT_CB"
              target="enter_dontquit_cb:c:pushed" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_chat_colors"
            align="T"
            target="chat_colors"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="entity_colors"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Entity colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiEntityColors" />
        <instance template="tgcw_color"
                  id="cc_user"
                  text="uiUserColor"
                  title="uiUserColor"
                  tooltip="uittUserColor"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_color"
                  id="cc_target"
                  text="uiTargetColor"
                  title="uiTargetColor"
                  tooltip="uittTargetColor"
                  posref="BL TL"
                  posparent="cc_user"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_group"
                  text="uiGroupColor"
                  title="uiGroupColor"
                  tooltip="uittGroupColor"
                  posref="BL TL"
                  posparent="cc_target"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="cc_guild"
                  text="uiGuildRadarColor"
                  title="uiGuildRadarColor"
                  tooltip="uittGuildRadarColor"
                  posref="BL TL"
                  posparent="cc_group"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_player"
                  text="uiPlayerColor"
                  title="uiPlayerColor"
                  tooltip="uittPlayerColor"
                  posref="BL TL"
                  posparent="cc_guild"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_npc"
                  text="uiNPCColor"
                  title="uiNPCColor"
                  tooltip="uittNPCColor"
                  posref="BL TL"
                  posparent="cc_player"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_fauna"
                  text="uiFaunaColor"
                  title="uiFaunaColor"
                  tooltip="uittFaunaColor"
                  posref="BL TL"
                  posparent="cc_npc"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="cc_mount"
                  text="uiMountColor"
                  title="uiMountColor"
                  tooltip="uittMountColor"
                  posref="BL TL"
                  posparent="cc_fauna"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_beast"
                  text="uiBeastColor"
                  title="uiBeastColor"
                  tooltip="uittBeastColor"
                  posref="BL TL"
                  posparent="cc_mount"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_source"
                  text="uiSourceColor"
                  title="uiSourceColor"
                  tooltip="uittSourceColor"
                  posref="BL TL"
                  posparent="cc_beast"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="cc_dead"
                  text="uiDeadColor"
                  title="uiDeadColor"
                  tooltip="uittDeadColor"
                  posref="BL TL"
                  posparent="cc_source"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="cc_pvpenemy"
                  text="uiPvpEnemyColor"
                  title="uiPvpEnemyColor"
                  tooltip="uittPvpEnemyColor"
                  posref="BL TL"
                  posparent="cc_dead"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="cc_pvpally"
                  text="uiPvpAllyColor"
                  title="uiPvpAllyColor"
                  tooltip="uittPvpAllyColor"
                  posref="BL TL"
                  posparent="cc_pvpenemy"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_pvpallyinteam"
                  text="uiPvpAllyInTeamColor"
                  title="uiPvpAllyInTeamColor"
                  tooltip="uittPvpAllyInTeamColor"
                  posref="BL TL"
                  posparent="cc_pvpally"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_pvpallyinguild"
                  text="uiPvpAllyInGuildColor"
                  title="uiPvpAllyInGuildColor"
                  tooltip="uittPvpAllyInGuildColor"
                  posref="BL TL"
                  posparent="cc_pvpallyinteam"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="cc_pvpneutral"
                  text="uiPvpNeutralColor"
                  title="uiPvpNeutralColor"
                  tooltip="uittPvpNeutralColor"
                  posref="BL TL"
                  posparent="cc_pvpallyinguild"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_entity_colors"
            align="T"
            target="entity_colors"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="in_scene_user"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- In scene user colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiUserIS" />
        <instance template="tgcw_checkbox"
                  id="is_user_guild_symbol"
                  text="uiGuildSymbol"
                  tooltip="uittGuildSymbol"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="is_user_name"
                  text="uiWindowName"
                  tooltip="uittName"
                  posref="BL TL"
                  posparent="is_user_guild_symbol"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_title"
                  text="uiTitle"
                  tooltip="uittTitle"
                  posref="BL TL"
                  posparent="is_user_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_guild_name"
                  text="uigcGuildName"
                  tooltip="uittGuildName"
                  posref="BL TL"
                  posparent="is_user_title"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_hp"
                  text="uiHP"
                  tooltip="uittHP"
                  posref="BL TL"
                  posparent="is_user_guild_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_sap"
                  text="uiSAP"
                  tooltip="uittSAP"
                  posref="BL TL"
                  posparent="is_user_hp"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_sta"
                  text="uiSTA"
                  tooltip="uittSTA"
                  posref="BL TL"
                  posparent="is_user_sap"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_focus"
                  text="uiFOC"
                  tooltip="uittFocus"
                  posref="BL TL"
                  posparent="is_user_sta"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_action"
                  text="uiActionBar"
                  tooltip="uittActionBar"
                  posref="BL TL"
                  posparent="is_user_focus"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_user_pvp_logo"
                  text="uiPvpLogo"
                  tooltip="uittPvpLogo"
                  posref="BL TL"
                  posparent="is_user_action"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_in_scene_user"
            align="T"
            target="in_scene_user"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="in_scene_friend"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- In scene friend colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiFriendIS" />
        <instance template="tgcw_checkbox"
                  id="is_friend_guild_symbol"
                  text="uiGuildSymbol"
                  tooltip="uittGuildSymbol"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="is_friend_name"
                  text="uiWindowName"
                  tooltip="uittName"
                  posref="BL TL"
                  posparent="is_friend_guild_symbol"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_title"
                  text="uiTitle"
                  tooltip="uittTitle"
                  posref="BL TL"
                  posparent="is_friend_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_guild_name"
                  text="uigcGuildName"
                  tooltip="uittGuildName"
                  posref="BL TL"
                  posparent="is_friend_title"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_hp"
                  text="uiHP"
                  tooltip="uittHP"
                  posref="BL TL"
                  posparent="is_friend_guild_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_sap"
                  text="uiSAP"
                  tooltip="uittSTA"
                  posref="BL TL"
                  posparent="is_friend_hp"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_sta"
                  text="uiSTA"
                  tooltip="uittSAP"
                  posref="BL TL"
                  posparent="is_friend_sap"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_focus"
                  text="uiFOC"
                  tooltip="uittFocus"
                  posref="BL TL"
                  posparent="is_friend_sta"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_pvp_logo"
                  text="uiPvpLogo"
                  tooltip="uittPvpLogo"
                  posref="BL TL"
                  posparent="is_friend_focus"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_mission_icon"
                  text="uiMissionIcon"
                  tooltip="uittMissionIcon"
                  posref="BL TL"
                  posparent="is_friend_pvp_logo"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_friend_mission_mini_icon"
                  text="uiMiniMissionIcon"
                  tooltip="uittMiniMissionIcon"
                  posref="BL TL"
                  posparent="is_friend_mission_icon"
                  x="16"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_in_scene_friend"
            align="T"
            target="in_scene_friend"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="in_scene_enemy"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- In scene enemy colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiEnemyIS" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_guild_symbol"
                  text="uiGuildSymbol"
                  tooltip="uittGuildSymbol"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_name"
                  text="uiWindowName"
                  tooltip="uittName"
                  posref="BL TL"
                  posparent="is_enemy_guild_symbol"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_title"
                  text="uiTitle"
                  tooltip="uittTitle"
                  posref="BL TL"
                  posparent="is_enemy_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_guild_name"
                  text="uigcGuildName"
                  tooltip="uittGuildName"
                  posref="BL TL"
                  posparent="is_enemy_title"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_hp"
                  text="uiHP"
                  tooltip="uittHP"
                  posref="BL TL"
                  posparent="is_enemy_guild_name"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_ennemy_pvp_logo"
                  text="uiPvpLogo"
                  tooltip="uittPvpLogo"
                  posref="BL TL"
                  posparent="is_enemy_hp"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_in_scene_enemy"
            align="T"
            target="in_scene_enemy"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="in_scene_chat_messages"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- In scene enemy colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiChatIS" />
        <instance template="tgcw_checkbox"
                  id="is_user_messages"
                  text="uiUserMessages"
                  tooltip="uittUserMessages"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="is_friend_messages"
                  text="uiFriendMessages"
                  tooltip="uittFriendMessages"
                  posref="BL TL"
                  posparent="is_user_messages"
                  x="0"
                  y="-4" />
        <instance template="tgcw_checkbox"
                  id="is_enemy_messages"
                  text="uiEnemyMessages"
                  tooltip="uittEnemyMessages"
                  posref="BL TL"
                  posparent="is_friend_messages"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_in_scene_chat_messages"
            align="T"
            target="in_scene_chat_messages"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="win_colors"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- win colors -->
        <view style="sgc_title"
              id="wcol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiWinColors" />
        <instance template="tgcw_color"
                  id="wc_pla"
                  text="uiPlaColor"
                  title="uiCCDPla"
                  tooltip="uittChoosePlaColor"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_color"
                  id="wc_inv"
                  text="uiInvColor"
                  title="uiCCDInv"
                  tooltip="uittChooseInvColor"
                  posref="BL TL"
                  posparent="wc_pla"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_ani"
                  text="uiAniColor"
                  title="uiCCDAni"
                  tooltip="uittChooseAniColor"
                  posref="BL TL"
                  posparent="wc_inv"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_help"
                  text="uiHelColor"
                  title="uiCCDHel"
                  tooltip="uittChooseHelColor"
                  posref="BL TL"
                  posparent="wc_ani"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="wc_infos"
                  text="uiInfColor"
                  title="uiCCDInf"
                  tooltip="uittChooseInfColor"
                  posref="BL TL"
                  posparent="wc_help"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_opt"
                  text="uiOptColor"
                  title="uiCCDOpt"
                  tooltip="uittChooseOptColor"
                  posref="BL TL"
                  posparent="wc_infos"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_mem"
                  text="uiMemColor"
                  title="uiCCDMem"
                  tooltip="uittChooseMemColor"
                  posref="TL TL"
                  posparent="wc_opt"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="wc_lab"
                  text="uiLabColor"
                  title="uiCCDLab"
                  tooltip="uittChooseLabColor"
                  posref="BL TL"
                  posparent="wc_mem"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_com"
                  text="uiComColor"
                  title="uiCCDCom"
                  tooltip="uittChooseComColor"
                  posref="BL TL"
                  posparent="wc_lab"
                  x="0"
                  y="-16" />
        <instance template="tgcw_color"
                  id="wc_trade"
                  text="uiTraColor"
                  title="uiCCDTra"
                  tooltip="uittChooseTraColor"
                  posref="BL TL"
                  posparent="wc_com"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_bot"
                  text="uiBotColor"
                  title="uiCCDBot"
                  tooltip="uittChooseBotColor"
                  posref="BL TL"
                  posparent="wc_trade"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_win_colors"
            align="T"
            target="win_colors"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <group id="win_colors_r2"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              id="wcol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiR2WinColors" />
        <instance template="tgcw_color"
                  id="wc_r2_palette"
                  text="uiR2Palette"
                  title="uiCCDR2_palette"
                  tooltip="uittR2_Palette"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_color"
                  id="wc_r2_scenario"
                  text="uiR2Scenario"
                  title="uiCCDR2_scenario"
                  tooltip="uittR2_Scenario"
                  posparent="wc_r2_palette"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_prop_window"
                  text="uiR2Prop_window"
                  title="uiCCDR2_prop_window"
                  tooltip="uittR2_Prop_window"
                  posparent="wc_r2_scenario"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_form"
                  text="uiR2Form"
                  title="uiCCDR2_form"
                  tooltip="uittR2_Form"
                  posparent="wc_r2_prop_window"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_custom_look"
                  text="uiR2Custom_look"
                  title="uiCCDR2_custom_look"
                  tooltip="uittR2_Custom_look"
                  posparent="wc_r2_form"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_dialogs"
                  text="uiR2Dialogs"
                  title="uiCCDR2_dialogs"
                  tooltip="uittR2_Dialogs"
                  posparent="wc_r2_custom_look"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_events"
                  text="uiR2Events"
                  title="uiCCDR2_events"
                  tooltip="uittR2_Events"
                  posparent="wc_r2_dialogs"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_activities"
                  text="uiR2Activities"
                  title="uiCCDR2_activities"
                  tooltip="uittR2_Activities"
                  posparent="wc_r2_events"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_feature_help"
                  text="uiR2Feature_help"
                  title="uiCCDR2_feature_help"
                  tooltip="uittR2_Feature_help"
                  posparent="wc_r2_activities"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_connect"
                  text="uiR2Connect"
                  title="uiCCDR2_connect"
                  tooltip="uittR2_Connect"
                  posparent="wc_r2_feature_help"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_session_browser"
                  text="uiR2Session_browser"
                  title="uiCCDR2_session_browser"
                  tooltip="uittR2_Session_browser"
                  posparent="wc_r2_connect"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_scenario_control"
                  text="uiR2Scenario_control"
                  title="uiCCDR2_scenario_control"
                  tooltip="uittR2_Scenario_control"
                  posparent="wc_r2_session_browser"
                  posref="BL TL"
                  x="0"
                  y="-4" />
        <instance template="tgcw_color"
                  id="wc_r2_player_tracking"
                  text="uiR2Player_tracking"
                  title="uiCCDR2_player_tracking"
                  tooltip="uittR2_Player_tracking"
                  posparent="wc_r2_scenario_control"
                  posref="BL TL"
                  x="0"
                  y="-4" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_win_colors_r2"
            align="T"
            target="win_colors_r2"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="mouse"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              id="mouseopt"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiMouseOptions" />
        <instance template="tgcw_checkbox"
                  id="hard"
                  text="uiMouseHardware"
                  posref="TR TR"
                  x="-55"
                  y="-20" />
        <instance template="tgcw_checkbox"
                  id="inverted"
                  text="uiMouseInverted"
                  posparent="hard"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_checkbox"
                  id="dbl"
                  text="uiMouseDblClickMode"
                  posparent="inverted"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <view style="sgc_title2"
              type="text"
              id="inter"
              posref="TL TL"
              x="0"
              y="-20"
              hardtext="uiMouseInterface" />
        <instance template="tgcw_scrollbarint"
                  id="dcspeed"
                  text="uiDoubleClickSpeed"
                  posparent="inter"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="curspeed"
                  text="uiCursorSpeed"
                  posparent="dcspeed"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="curaccel"
                  text="uiCursorAccel"
                  posparent="curspeed"
                  posref="BL TL"
                  x="0"
                  y="-2" />
        <view style="sgc_title2"
              type="text"
              id="head"
              posref="BL TL"
              hardtext="uiMouseHead"
              posparent="curaccel"
              x="-20"
              y="-12" />
        <instance template="tgcw_scrollbarfloat"
                  id="headspeed"
                  text="uiHeadSpeed"
                  posparent="head"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarint"
                  id="headaccel"
                  text="uiHeadAccel"
                  posparent="headspeed"
                  posref="BL TL"
                  x="0"
                  y="-2" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_mouse"
            align="T"
            target="mouse"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="keyb"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              id="mouseopt"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiKeybOptions" />
        <view style="sgc_title2"
              type="text"
              id="cam"
              posref="TL TL"
              x="0"
              y="-20"
              hardtext="uiKeybCamera" />
        <instance template="tgcw_scrollbarfloat"
                  id="speedmax"
                  text="uiKeybCamSpeedMax"
                  posparent="cam"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="speedmin"
                  text="uiKeybCamSpeedMin"
                  posparent="speedmax"
                  posref="BL TL"
                  x="0"
                  y="-2" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_keyb"
            align="T"
            target="keyb"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="sound"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <view style="sgc_title"
              type="text"
              id="gen"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiSoundGeneral" />
        <instance template="tgcw_checkbox"
                  id="enabler"
                  text="uiSoundOnOff"
                  posref="TL TL"
                  x="0"
                  y="-16" />
        <instance template="tgcw_checkbox"
                  id="useeax"
                  text="uiUseEax"
                  posref="BL TL"
                  posparent="enabler"
                  x="0"
                  y="-12" />
        <instance template="tgcw_checkbox"
                  id="forcesoftbuf"
                  text="uiSoundFSB"
                  posref="BL TL"
                  posparent="useeax"
                  x="0"
                  y="-12" />
        <view style="sgc_title2"
              type="text"
              id="perf"
              posparent="forcesoftbuf"
              posref="BL TL"
              x="0"
              y="-8"
              hardtext="uiSoundPerf" />
        <instance template="tgcw_scrollbarint"
                  id="maxtrack"
                  text="uiMaxTracks"
                  posparent="perf"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <view style="sgc_title2"
              type="text"
              id="volume"
              posparent="maxtrack"
              posref="BL TL"
              x="-20"
              y="-2"
              hardtext="uiSoundVolume" />
        <instance template="tgcw_scrollbarfloat"
                  id="sfx_volume"
                  text="uiSoundSFXVolume"
                  posparent="volume"
                  posref="BL TL"
                  x="20"
                  y="-2" />
        <instance template="tgcw_scrollbarfloat"
                  id="music_volume"
                  text="uiSoundGameMusicVolume"
                  posparent="sfx_volume"
                  posref="BL TL"
                  x="0"
                  y="-2" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_sound"
            align="T"
            target="sound"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <group id="landmark_colors"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
	         max_h="-4">
        <!-- Landmark colors -->
        <view style="sgc_title"
              id="ccol"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiLandmarkColors" />
        <instance template="tgcw_color"
                  id="cc_misc"
                  text="uiLMMiscColor"
                  title="uiCCDLMMisc"
                  tooltip="uittChooseLMMiscColor"
                  posref="TL TL"
                  x="0"
                  y="-20" />
        <instance template="tgcw_color" id="cc_tribe" text="uiLMTribeColor" title="uiCCDLMTribeColor" tooltip="uittChooseLMTribeColor" posref="BL TL" posparent="cc_misc" x="0" y="-16" />
		<instance template="tgcw_color" id="cc_bandit" text="uiLMBanditColor" title="uiCCDLMBanditColor" tooltip="uittChooseLMBanditColor" posref="BL TL" posparent="cc_tribe" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_citizen" text="uiLMCitizenColor" title="uiCCDLMCitizenColor" tooltip="uittChooseLMCitizenColor" posref="BL TL" posparent="cc_bandit" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_fauna" text="uiLMFaunaColor" title="uiCCDLMFaunaColor" tooltip="uittChooseLMFaunaColor" posref="BL TL" posparent="cc_citizen" x="0" y="-16" />
		<instance template="tgcw_color" id="cc_faunaexcel" text="uiLMFaunaExcelColor" title="uiCCDLMFaunaExcelColor" tooltip="uittChooseLMFaunaExcelColor" posref="BL TL" posparent="cc_fauna" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_faunasup" text="uiLMFaunaSupColor" title="uiCCDLMFaunaSupColor" tooltip="uittChooseLMFaunaSupColor" posref="BL TL" posparent="cc_faunaexcel" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_forage" text="uiLMForageColor" title="uiCCDLMForageColor" tooltip="uittChooseLMForageColor" posref="BL TL" posparent="cc_faunasup" x="0" y="-16" />
		<instance template="tgcw_color" id="cc_forageexcel" text="uiLMForageExcelColor" title="uiCCDLMForageExcelColor" tooltip="uittChooseLMForageExcelColor" posref="BL TL" posparent="cc_forage" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_foragesup" text="uiLMForageSupColor" title="uiCCDLMForageSupColor" tooltip="uittChooseLMForageSupColor" posref="BL TL" posparent="cc_forageexcel" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_sap" text="uiLMSapColor" title="uiCCDLMSapColor" tooltip="uittChooseLMSapColor" posref="BL TL" posparent="cc_foragesup" x="16" y="-4" />
		<instance template="tgcw_color" id="cc_amber" text="uiLMAmberColor" title="uiCCDLMAmberColor" tooltip="uittChooseLMAmberColor" posref="BL TL" posparent="cc_sap" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_node" text="uiLMNodeColor" title="uiCCDLMNodeColor" tooltip="uittChooseLMNodeColor" posref="BL TL" posparent="cc_amber" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_fiber" text="uiLMFiberColor" title="uiCCDLMFiberColor" tooltip="uittChooseLMFiberColor" posref="BL TL" posparent="cc_node" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_bark" text="uiLMBarkColor" title="uiCCDLMBarkColor" tooltip="uittChooseLMBarkColor" posref="BL TL" posparent="cc_fiber" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_seed" text="uiLMSeedColor" title="uiCCDLMSeedColor" tooltip="uittChooseLMSeedColor" posref="BL TL" posparent="cc_bark" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_shell" text="uiLMShellColor" title="uiCCDLMShellColor" tooltip="uittChooseLMShellColor" posref="BL TL" posparent="cc_seed" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_resin" text="uiLMResinColor" title="uiCCDLMResinColor" tooltip="uittChooseLMResinColor" posref="BL TL" posparent="cc_shell" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_wood" text="uiLMWoodColor" title="uiCCDLMWoodColor" tooltip="uittChooseLMWoodColor" posref="BL TL" posparent="cc_resin" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_oil" text="uiLMOilColor" title="uiCCDLMOilColor" tooltip="uittChooseLMOilColor" posref="BL TL" posparent="cc_wood" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_mission" text="uiLMMissionColor" title="uiCCDLMMissionColor" tooltip="uittChooseLMMissionColor" posref="BL TL" posparent="cc_oil" x="-16" y="-16" />
		<instance template="tgcw_color" id="cc_food" text="uiLMFoodColor" title="uiCCDLMFoodColor" tooltip="uittChooseLMFoodColor" posref="BL TL" posparent="cc_mission" x="16" y="-4" />
		<instance template="tgcw_color" id="cc_construction" text="uiLMConstructionColor" title="uiCCDLMConstructionColor" tooltip="uittChooseLMConstructionColor" posref="BL TL" posparent="cc_food" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_goo" text="uiLMGooColor" title="uiCCDLMGooColor" tooltip="uittChooseLMGooColor" posref="BL TL" posparent="cc_construction" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_insect" text="uiLMInsectColor" title="uiCCDLMInsectColor" tooltip="uittChooseLMInsectColor" posref="BL TL" posparent="cc_goo" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_kitin" text="uiLMKitinColor" title="uiCCDLMKitinColor" tooltip="uittChooseLMKitinColor" posref="BL TL" posparent="cc_insect" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_nocive" text="uiLMNociveColor" title="uiCCDLMNociveColor" tooltip="uittChooseLMNociveColor" posref="BL TL" posparent="cc_kitin" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_preservative" text="uiLMPreservativeColor" title="uiCCDLMPreservativeColor" tooltip="uittChooseLMPreservativeColor" posref="BL TL" posparent="cc_nocive" x="0" y="-4" />
		<instance template="tgcw_color" id="cc_passage" text="uiLMPassageColor" title="uiCCDLMPassageColor" tooltip="uittChooseLMPassageColor" posref="BL TL" posparent="cc_preservative" x="-16" y="-16" />
		<instance template="tgcw_color" id="cc_teleporter" text="uiLMTeleporterColor" title="uiCCDLMTeleporterColor" tooltip="uittChooseLMTeleporterColor" posref="BL TL" posparent="cc_passage" x="0" y="-4" />

      </group>
      <ctrl style="skin_scroll"
            id="sb_landmark_colors"
            align="T"
            target="landmark_colors"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />			
      <!-- *** -->
      <group id="help"
             active="false"
             posparent="crop"
             posref="TM TM"
             x="0"
             y="-8"
             sizeref="w"
             child_resize_h="true"
             child_resize_hmargin="4"
             w="-4"
             max_sizeparent="crop"
             max_sizeref="h"
             max_h="-4">
        <!-- Entities Names -->
        <view style="sgc_title"
              type="text"
              id="hen"
              posref="TM TM"
              x="0"
              y="0"
              hardtext="uiHelp" />
        <instance template="tgcw_checkbox"
                  id="context_help"
                  text="uiShowContextHelp"
                  posref="TL TL"
                  x="0"
                  y="-20" />
      </group>
      <ctrl style="skin_scroll"
            id="sb_help"
            align="T"
            target="help"
            posparent="crop"
            posref="TL TR"
            x="-8"
            y="0" />
      <!-- *** -->
      <!-- *** -->
      <ddx id="all">
        <!-- This ref to the apply button -->
        <apply ui="apply" />
        <param ui="general:con:c"
               type="cfg"
               realtime="true"
               widget="sbfloat"
               link="Contrast" />
        <param ui="general:lum:c"
               type="cfg"
               realtime="true"
               widget="sbfloat"
               link="Luminosity" />
        <param ui="general:gam:c"
               type="cfg"
               realtime="true"
               widget="sbfloat"
               link="Gamma" />
        <param ui="general:waitvbl:c"
               type="cfg"
               realtime="true"
               widget="boolbut"
               link="WaitVBL" />
        <param ui="landscape:lvi:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="end_scroll"
               ui_view="landscape:lvi:c_res"
               ui_unit="uigcUnitMeters"
               link="Vision"
               preset="UI:TEMP:PRESET_LAND" />
        <param ui="landscape:ltn:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="true"
               ui_view="landscape:ltn:c_res"
               ui_unit="uigcUnitMeters"
               link="LandscapeTileNear"
               preset="UI:TEMP:PRESET_LAND" />
        <param ui="landscape:lth:c"
               type="cfg"
               widget="sbfloat"
               realtime="true"
               ui_view="landscape:lth:c_res"
               ui_decimal="4"
               link="LandscapeThreshold"
               preset="UI:TEMP:PRESET_LAND" />
        <param ui="landscape:lmv:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="MicroVeget"
               preset="UI:TEMP:PRESET_LAND" />
        <param ui="landscape:mvd:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="end_scroll"
               ui_view="landscape:mvd:c_res"
               ui_unit="uigcUnitPercent"
               link="MicroVegetDensity"
               preset="UI:TEMP:PRESET_LAND" />
        <param ui="char:maxpoly:c"
               type="cfg"
               widget="sbint"
               realtime="true"
               ui_view="char:maxpoly:c_res"
               link="SkinNbMaxPoly"
               preset="UI:TEMP:PRESET_CHAR" />
        <param ui="char:maxnotclod:c"
               type="cfg"
               widget="sbint"
               realtime="true"
               ui_view="char:maxnotclod:c_res"
               ui_unit="uigcUnitChar"
               link="NbMaxSkeletonNotCLod"
               preset="UI:TEMP:PRESET_CHAR" />
        <param ui="char:farclip:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="true"
               ui_view="char:farclip:c_res"
               ui_unit="uigcUnitMeters"
               link="CharacterFarClip"
               preset="UI:TEMP:PRESET_CHAR" />
        <param ui="char:race_anim:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="EnableRacialAnimation" />
        <param ui="fx:maxpoly:c"
               type="cfg"
               widget="sbint"
               realtime="true"
               ui_view="fx:maxpoly:c_res"
               link="FxNbMaxPoly"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:cloud:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="Cloud"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:cqual:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="true"
               ui_view="fx:cqual:c_res"
               link="CloudQuality"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:cup:c"
               type="cfg"
               widget="sbint"
               realtime="true"
               ui_view="fx:cup:c_res"
               link="CloudUpdate"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:shadow:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="Shadows"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:bloom_gr:bloom:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="Bloom"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:bloom_gr:square_bloom:c"
               type="cfg"
               widget="boolbut"
               realtime="true"
               link="SquareBloom"
               preset="UI:TEMP:PRESET_FX" />
        <param ui="fx:bloom_gr:density_bloom:c"
               type="cfg"
               widget="sbfloat_round"
               realtime="true"
               ui_view="fx:bloom_gr:density_bloom:c_res"
               link="DensityBloom"
               preset="UI:TEMP:PRESET_FX" />
        <!--
                        <param ui="hud:suc:c"  type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
                        <param ui="hud:sta:c"  type="cfg" widget="boolbut" link="ShowNameSelected"    realtime="true"/>
-->
        <param ui="hud:swrc:c"
               type="cfg"
               widget="boolbut"
               link="SelectWithRClick"
               realtime="true" />
        <param ui="hud:foa:c"
               type="cfg"
               widget="boolbut"
               link="FollowOnAtk"
               realtime="true" />
        <param ui="hud:aos:c"
               type="cfg"
               widget="boolbut"
               link="AtkOnSelect"
               realtime="true" />
        <param ui="hud:aet:c"
               type="cfg"
               widget="boolbut"
               link="AutoEquipTool"
               realtime="true" />
        <param ui="hud:auc:c"
               type="cfg"
               widget="boolbut"
               link="AutomaticCamera"
               realtime="true" />
        <param ui="hud:fade:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:USER_CHAR_FADE"
               realtime="true" />
        <param ui="hud:opamin:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:USER_CHAR_OPA_MIN"
               min="0"
               max="255"
               realtime="true" />
        <param ui="hud:cao:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:ACT_BAR_OUT"
               realtime="true" />
        <param ui="alpha_colors:col_day:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:DAY_COLOR"
               realtime="true" />
        <param ui="alpha_colors:col_night:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:NIGHT_COLOR"
               realtime="true" />
        <param ui="alpha_colors:ga_win:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:CONTAINER_ALPHA"
               min="0"
               max="255"
               realtime="true" />
        <param ui="alpha_colors:ga_con:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:CONTENT_ALPHA"
               min="64"
               max="255"
               realtime="true" />
        <param ui="alpha_colors:moa_win:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:CONTAINER_ROLLOVER_FACTOR"
               min="0"
               max="255"
               realtime="true" />
        <param ui="alpha_colors:moa_con:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:CONTENT_ROLLOVER_FACTOR"
               min="64"
               max="255"
               realtime="true" />
        <param ui="alpha_colors:moa_speed:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:ALPHA_ROLLOVER_SPEED"
               min="0"
               max="100"
               realtime="true" />
        <param ui="chat_colors:cc_say:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:SAY"
               realtime="true" />
        <param ui="chat_colors:cc_tell:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:TELL"
               realtime="true" />
        <param ui="chat_colors:cc_team:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:GROUP"
               realtime="true" />
        <param ui="chat_colors:cc_guild:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:CLADE"
               realtime="true" />
        <param ui="chat_colors:cc_region:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:REGION"
               realtime="true" />
        <param ui="chat_colors:cc_univ:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:UNIVERSE_NEW"
               realtime="true" />
        <param ui="chat_colors:cc_shout:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:CHAT:COLORS:SHOUT"
               realtime="true" />
        <!--
                        <param ui="chat_colors:cc_shout:c"              type="db" widget="colbut" link="UI:SAVE:CHAT:COLORS:SHOUT" realtime="true" />
                        <param ui="chat_colors:cc_civi:c"               type="db" widget="colbut" link="UI:SAVE:CHAT:COLORS:CIVILIZATION" realtime="true" />
                        <param ui="chat_colors:cc_terri:c"              type="db" widget="colbut" link="UI:SAVE:CHAT:COLORS:TERRITORY"  realtime="true" />
                        -->
        <param ui="chat_colors:enter_dontquit_cb:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:CHAT:ENTER_DONT_QUIT_CB"
               realtime="true" />
        <param ui="chat_colors:font_size:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:CHAT:FONT_SIZE"
               min="9"
               max="14"
               realtime="true" />
        <param ui="entity_colors:cc_user:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:USER"
               realtime="true" />
        <param ui="entity_colors:cc_player:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PLAYER"
               realtime="true" />
        <param ui="entity_colors:cc_npc:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:NPC"
               realtime="true" />
        <param ui="entity_colors:cc_fauna:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:FAUNA"
               realtime="true" />
        <param ui="entity_colors:cc_target:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:TARGET"
               realtime="true" />
        <param ui="entity_colors:cc_group:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:GROUP"
               realtime="true" />
        <param ui="entity_colors:cc_guild:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:GUILD"
               realtime="true" />
        <param ui="entity_colors:cc_mount:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:MOUNT"
               realtime="true" />
        <param ui="entity_colors:cc_beast:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:BEAST"
               realtime="true" />
        <param ui="entity_colors:cc_source:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:SOURCE"
               realtime="true" />
        <param ui="entity_colors:cc_dead:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:DEAD"
               realtime="true" />
        <param ui="entity_colors:cc_pvpenemy:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PVPENEMY"
               realtime="true" />
        <param ui="entity_colors:cc_pvpally:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PVPALLY"
               realtime="true" />
        <param ui="entity_colors:cc_pvpneutral:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL"
               realtime="true" />
        <param ui="entity_colors:cc_pvpallyinteam:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM"
               realtime="true" />
        <param ui="entity_colors:cc_pvpallyinguild:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD"
               realtime="true" />
        <param ui="in_scene_user:is_user_guild_symbol:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:GUILD_SYMBOL"
               realtime="true" />
        <param ui="in_scene_user:is_user_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:NAME"
               realtime="true" />
        <param ui="in_scene_user:is_user_title:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:TITLE"
               realtime="true" />
        <param ui="in_scene_user:is_user_guild_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:GUILD_NAME"
               realtime="true" />
        <param ui="in_scene_user:is_user_hp:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:HP"
               realtime="true" />
        <param ui="in_scene_user:is_user_sap:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:SAP"
               realtime="true" />
        <param ui="in_scene_user:is_user_sta:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:STA"
               realtime="true" />
        <param ui="in_scene_user:is_user_focus:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:FOCUS"
               realtime="true" />
        <param ui="in_scene_user:is_user_action:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:ACTION"
               realtime="true" />
        <param ui="in_scene_user:is_user_pvp_logo:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:PVP_LOGO"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_guild_symbol:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:NAME"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_title:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:TITLE"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_guild_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:GUILD_NAME"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_hp:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:HP"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_sap:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:SAP"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_sta:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:STA"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_focus:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:FOCUS"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_pvp_logo:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:PVP_LOGO"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_mission_icon:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:MISSION_ICON"
               realtime="true" />
        <param ui="in_scene_friend:is_friend_mission_mini_icon:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON"
               realtime="true" />
        <param ui="in_scene_enemy:is_enemy_guild_symbol:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL"
               realtime="true" />
        <param ui="in_scene_enemy:is_enemy_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:NAME"
               realtime="true" />
        <param ui="in_scene_enemy:is_enemy_title:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:TITLE"
               realtime="true" />
        <param ui="in_scene_enemy:is_enemy_guild_name:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:GUILD_NAME"
               realtime="true" />
        <param ui="in_scene_enemy:is_enemy_hp:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:HP"
               realtime="true" />
        <param ui="in_scene_enemy:is_ennemy_pvp_logo:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:PVP_LOGO"
               realtime="true" />
        <param ui="in_scene_chat_messages:is_user_messages:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:USER:MESSAGES"
               realtime="true" />
        <param ui="in_scene_chat_messages:is_friend_messages:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:FRIEND:MESSAGES"
               realtime="true" />
        <param ui="in_scene_chat_messages:is_enemy_messages:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:INSCENE:ENEMY:MESSAGES"
               realtime="true" />
        <param ui="win_colors:wc_pla:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:PLA"
               realtime="true" />
        <param ui="win_colors:wc_ani:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:ANI"
               realtime="true" />
        <param ui="win_colors:wc_com:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:COM"
               realtime="true" />
        <param ui="win_colors:wc_inv:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:INV"
               realtime="true" />
        <param ui="win_colors:wc_opt:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:OPT"
               realtime="true" />
        <param ui="win_colors:wc_lab:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:LAB"
               realtime="true" />
        <param ui="win_colors:wc_mem:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:MEM"
               realtime="true" />
        <param ui="win_colors:wc_help:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:HELP"
               realtime="true" />
        <param ui="win_colors:wc_infos:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:INFOS"
               realtime="true" />
        <param ui="win_colors:wc_trade:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:TRADE"
               realtime="true" />
        <param ui="win_colors:wc_bot:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:BOT"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_palette:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_PALETTE"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_scenario:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_SCENARIO"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_prop_window:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_form:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_FORM"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_custom_look:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_dialogs:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_DIALOGS"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_events:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_EVENTS"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_activities:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_ACTIVITIES"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_feature_help:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_FEATURE_HELP"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_connect:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_CONNECT"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_session_browser:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_scenario_control:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL"
               realtime="true" />
        <param ui="win_colors_r2:wc_r2_player_tracking:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING"
               realtime="true" />
        <param ui="mouse:hard:c"
               type="cfg"
               widget="boolbut"
               link="HardwareCursor"
               realtime="true" />
        <param ui="mouse:inverted:c"
               type="cfg"
               widget="boolbut"
               link="FreeLookInverted"
               realtime="true" />
        <param ui="mouse:dbl:c"
               type="cfg"
               widget="boolbut"
               link="DblClickMode"
               realtime="true" />
        <param ui="mouse:dcspeed:c"
               type="db"
               widget="sbint"
               link="UI:SAVE:DOUBLE_CLICK_SPEED"
               min="0"
               max="100"
               realtime="true" />
        <param ui="mouse:curspeed:c"
               type="cfg"
               widget="sbfloat"
               link="CursorSpeed"
               realtime="true" />
        <param ui="mouse:curaccel:c"
               type="cfg"
               widget="sbint"
               link="CursorAcceleration"
               realtime="true" />
        <param ui="mouse:headspeed:c"
               type="cfg"
               widget="sbfloat"
               link="FreeLookSpeed"
               realtime="true" />
        <param ui="mouse:headaccel:c"
               type="cfg"
               widget="sbint"
               link="FreeLookAcceleration"
               realtime="true" />
        <param ui="keyb:speedmax:c"
               type="cfg"
               widget="sbfloat"
               link="RotKeySpeedMax"
               realtime="true" />
        <param ui="keyb:speedmin:c"
               type="cfg"
               widget="sbfloat"
               link="RotKeySpeedMin"
               realtime="true" />
        <param ui="sound:enabler:c"
               type="cfg"
               widget="boolbut"
               link="SoundOn"
               realtime="true" />
        <param ui="sound:useeax:c"
               type="cfg"
               widget="boolbut"
               link="UseEax"
               realtime="true" />
        <param ui="sound:forcesoftbuf:c"
               type="cfg"
               widget="boolbut"
               link="SoundForceSoftwareBuffer"
               realtime="true" />
        <param ui="sound:maxtrack:c"
               type="cfg"
               widget="sbint"
               link="MaxTrack"
               realtime="end_scroll"
               ui_view="sound:maxtrack:c_res" />
        <param ui="sound:sfx_volume:c"
               type="cfg"
               widget="sbfloat"
               link="SoundSFXVolume"
               realtime="true" />
        <param ui="sound:music_volume:c"
               type="cfg"
               widget="sbfloat"
               link="SoundGameMusicVolume"
               realtime="true" />
        <param ui="landmark_colors:cc_misc:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:MISC"
               realtime="true" />
        <param ui="landmark_colors:cc_tribe:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:TRIBE"
               realtime="true" />
        <param ui="landmark_colors:cc_bandit:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:BANDIT"
               realtime="true" />
        <param ui="landmark_colors:cc_citizen:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:CITIZEN"
               realtime="true" />
        <param ui="landmark_colors:cc_fauna:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FAUNA"
               realtime="true" />
        <param ui="landmark_colors:cc_faunaexcel:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL"
               realtime="true" />
        <param ui="landmark_colors:cc_faunasup:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FAUNASUP"
               realtime="true" />
        <param ui="landmark_colors:cc_forage:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FORAGE"
               realtime="true" />
        <param ui="landmark_colors:cc_forageexcel:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL"
               realtime="true" />
        <param ui="landmark_colors:cc_foragesup:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FORAGESUP"
               realtime="true" />
        <param ui="landmark_colors:cc_sap:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:SAP"
               realtime="true" />
        <param ui="landmark_colors:cc_amber:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:AMBER"
               realtime="true" />
        <param ui="landmark_colors:cc_node:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:NODE"
               realtime="true" />
        <param ui="landmark_colors:cc_fiber:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FIBER"
               realtime="true" />
        <param ui="landmark_colors:cc_bark:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:BARK"
               realtime="true" />
        <param ui="landmark_colors:cc_seed:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:SEED"
               realtime="true" />
        <param ui="landmark_colors:cc_shell:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:SHELL"
               realtime="true" />
        <param ui="landmark_colors:cc_resin:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:RESIN"
               realtime="true" />
        <param ui="landmark_colors:cc_wood:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:WOOD"
               realtime="true" />
        <param ui="landmark_colors:cc_oil:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:OIL"
               realtime="true" />
        <param ui="landmark_colors:cc_mission:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:MISSION"
               realtime="true" />
        <param ui="landmark_colors:cc_food:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:FOOD"
               realtime="true" />
        <param ui="landmark_colors:cc_construction:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:CONSTRUCTION"
               realtime="true" />
        <param ui="landmark_colors:cc_goo:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:GOO"
               realtime="true" />
        <param ui="landmark_colors:cc_insect:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:INSECT"
               realtime="true" />
        <param ui="landmark_colors:cc_kitin:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:KITIN"
               realtime="true" />
        <param ui="landmark_colors:cc_nocive:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:NOCIVE"
               realtime="true" />
        <param ui="landmark_colors:cc_preservative:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:PRESERVATIVE"
               realtime="true" />
        <param ui="landmark_colors:cc_passage:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:PASSAGE"
               realtime="true" />
        <param ui="landmark_colors:cc_teleporter:c"
               type="db"
               widget="colbut"
               link="UI:SAVE:LANDMARK:COLORS:TELEPORTER"
               realtime="true" />
			   
        <param ui="help:context_help:c"
               type="db"
               widget="boolbut"
               link="UI:SAVE:ENTITY:CONTEXT_HELP"
               realtime="true" />
      </ddx>
    </group>
  </group>
  <tree node="game_config" />
  <link expr="depends(@UI:SAVE:CONTENT_ALPHA)"
        action="set"
        params="dblink=UI:SAVE:CONTAINER_ALPHA|value=min(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
  <link expr="depends(@UI:SAVE:CONTAINER_ALPHA)"
        action="set"
        params="dblink=UI:SAVE:CONTENT_ALPHA|value=max(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
  <link expr="depends(@UI:SAVE:CONTENT_ROLLOVER_FACTOR)"
        action="set"
        params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=min(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
  <link expr="depends(@UI:SAVE:CONTAINER_ROLLOVER_FACTOR)"
        action="set"
        params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=max(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
</interface_config>