<material id="mat.genTransparentBlend" flags="MfAoBlend"/>
<material id="mat.genDefault" color="ffffffff" flags="MfColor"/>
<class id="positionFix" swapR2L="no"/>
<class id="shape3d" class="C3DShape" material="mat.genTransparentBlend"/>
<class id="rubber3d" class="C3DRubber"/>
<class id="static3d" class="C3DStatic"/>
<class id="button3d" class="C3DButton"/>

<!-- movable buttons -->
  <button3d id="nv.hintBoxPedestrian.container" children="nv.hintBoxPedestrian.back" children_="nv.hintBoxPedestrian.back"/>
  <button3d id="nv.hintBoxConnection.container" children="nv.hintBoxConnection.back" children_="nv.hintBoxConnection.back"/>
  <button3d id="nv.hintBoxFriend.container" children="nv.hintBoxFriend.back" children_="nv.hintBoxFriend.back"/>

  <rubber3d id="nv.hintBoxPedestrian.back" material="_m.hintBoxPedestrian.background" rubber="$9,*,$9;$8,*,$8"/>
  <rubber3d id="nv.hintBoxConnection.back" material="_m.hintBoxConnection.background" rubber="$9,*,$9;$8,*,$8"/>
  <rubber3d id="nv.hintBoxFriend.back" material="_m.hintBoxFriend.background" rubber="$9,*,$9;$8,*,$8"/>

  <material id="_m.hintBoxPedestrian.background" path="GuiOverlay\framePedestrian.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.hintBoxConnection.background" path="GuiOverlay\frameConnection.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.hintBoxFriend.background" path="GuiOverlay\frameConnection.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
<!-- /movable buttons -->

<!-- SpeedInfo -->
  <font id="_f.speedInfo.limit" name="bold" nameBorder="NONE" scale="nodpi" size="14" leading="14"/>
  <font id="_f.speedInfo.distance" name="bold" nameBorder="NONE" scale="nodpi" size="18" leading="18"/>
  <font id="_f.speedInfo.units" name="regular" nameBorder="NONE" scale="nodpi" size="16" leading="16"/>
  <font id="_f.speedInfo.limit$nui*phone" name="bold" nameBorder="NONE" scale="nodpi" size="18" leading="18"/>
  <font id="_f.speedInfo.distance$nui*phone" name="bold" nameBorder="NONE" scale="nodpi" size="18" leading="18"/>
  <font id="_f.speedInfo.units$nui*phone" name="regular" nameBorder="NONE" scale="nodpi" size="16" leading="16"/>

  <color id="_c.speedInfo.triangle" color="B0000000"/>
  <color id="_c.speedInfo.triangle$nui" color="ff23252a"/>
  <color id="_c.speedInfo.speed" color="ff000000"/>
  <color id="_c.sharpCurveInfo.speed" color="ffffffff"/>
  <color id="_c.speedInfo.distance" color="ffffffff"/>
  <color id="_c.speedInfo.units" color="ffffffff"/>
  <color id="_c.speedInfo.units$nui" color="ffb8bdc6"/>

  <material id="_m.speedInfo.speedLimit(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningInfo(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.sharpCurveInfo.speedLimit(?)" scale="nodpi" path="GuiOverlay\_sharpCurveWarningInfo\sharpCurveWarningInfo(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.endLimit(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningDis(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.speedLimitUs(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningInfoUS(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.endLimitUs(?)" scale="nodpi" path="GuiOverlay\speedWarningDis(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.alert" scale="nodpi" path="GuiOverlay\speedWarningAlert(1).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.point" scale="nodpi" path="GuiOverlay\reddot.png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <textStyle id="_t.speedInfo.limit" color="_c.speedInfo.speed" count="1" font1="_f.speedInfo.limit"/>
  <textStyle id="_t.sharpCurveInfo.limit" color="_c.sharpCurveInfo.speed" count="1" font1="_f.speedInfo.limit"/>
  <textStyle id="_t.speedInfo.limitUs" color="_c.speedInfo.speed" count="1" font1="_f.speedInfo.limit"/>
  <textStyle id="_t.speedInfo.distance" color="_c.speedInfo.distance" count="1" font1="_f.speedInfo.distance"/>
  <textStyle id="_t.speedInfo.units" color="_c.speedInfo.units" count="1" font1="_f.speedInfo.distance"/>
  <material id="_m.speedInfo.speedLimitNui(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningInfoNui(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>


<!-- ipad retina speedinfo - nui & (ppi < 300) -->
  <font id="_f.speedInfo.limit$nui*tablet" name="bold" nameBorder="NONE" scale="nodpi" size="12" leading="12"/>
  <font id="_f.speedInfo.distance$nui*tablet" name="bold" nameBorder="NONE" scale="nodpi" size="12" leading="12"/>
  <font id="_f.speedInfo.units$nui*tablet" name="regular" nameBorder="NONE" scale="nodpi" size="10" leading="10"/>
  <material id="_m.speedInfo.speedLimitNuiLoppi(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningInfoNuiLoppi(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.speedLimitUsNuiLoppi(?)" scale="nodpi" path="GuiOverlay\_speedWarningInfo\speedWarningInfoUSNuiLoppi(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <shape3d id="nv.speedInfo.icon$nui*phone" material="_m.speedInfo.speedLimitNui"/>
  <shape3d id="nv.speedInfo.icon$nui*tablet" material="_m.speedInfo.speedLimitNuiLoppi"/>
  <shape3d id="nv.speedInfo.iconUs$nui*tablet" material="_m.speedInfo.speedLimitUsNuiLoppi"/>

<!-- Weather condition speed restrictions -->
  <material id="_m.spInfoWeather.spLimit(?)" path="GuiOverlay\_speedWeatherInfo\speed_bg_eu(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.spInfoWeather.spLimitUs(?)" path="GuiOverlay\_speedWeatherInfo\speed_bg_usa(?).png" flags="MfAoBlendByTexture MfColor MfWmClampToEdge MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>

  <wnd3d id="nv.speedInfo.container"/>
  <shape3d id="nv.speedInfo.point" material="_m.speedInfo.point" position="pos.nv.speedInfo.point"/>
  <position id="pos.nv.speedInfo.point" deltaX1="=-texWidth('_m.speedInfo.point')/2" relatX1="0" deltaX2="=+texWidth('_m.speedInfo.point')/2" relatX2="0" deltaY1="=-texHeight('_m.speedInfo.point')*0.5" relatY1="0" deltaY2="=+texHeight('_m.speedInfo.point')*0.5" relatY2="0"/>
  <shape3d id="nv.speedInfo.triangle" color="_c.speedInfo.triangle"/>

  <material id="_m.speedInfo.context" path="GuiOverlay\rubberSpeed.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.speedInfo.context$nui" path="GuiOverlay\rubberSpeed_native.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <shape3d id="nv.speedInfo.context" material="_m.speedInfo.context" position="pos.speedInfo.context" rubber="$6,4,$6;$4,48,$4"/>
  <shape3d id="nv.speedInfo.context$nui" material="_m.speedInfo.context" position="pos.speedInfo.context" rubber="$10,*,$10;$10,*,$10"/>
  <positionFix id="pos.speedInfo.context" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>

  <shape3d id="nv.speedInfo.icon" material="_m.speedInfo.speedLimit"/> 
  <shape3d id="nv.sharpCurveInfo.icon" material="_m.sharpCurveInfo.speedLimit"/>
  <shape3d id="nv.speedInfo.iconUs" material="_m.speedInfo.speedLimitUs"/>
  <shape3d id="nv.speedInfo.icon.dis" material="_m.speedInfo.endLimit"/> 
  <shape3d id="nv.speedInfo.icon.disUs" material="_m.speedInfo.endLimitUs"/> 
  <shape3d id="nv.speedInfo.icon.alert" material="_m.speedInfo.alert"/> 

  <static3d id="nv.speedInfo.speed" align="center" valign="center" textstyle="_t.speedInfo.limit" text="" precise="yes"/>
  <static3d id="nv.sharpCurveInfo.speed" align="center" valign="center" textstyle="_t.sharpCurveInfo.limit" text="" precise="yes"/>
  <static3d id="nv.speedInfo.speedUs" align="center" valign="center" textstyle="_t.speedInfo.limitUs" text="" precise="yes" position="pos.speedInfo.speedUs"/>
  <static3d id="nv.speedInfo.distance" align="center" valign="center" textstyle="_t.speedInfo.distance" text=""/>
  <static3d id="nv.speedInfo.units" align="center" valign="center" textstyle="_t.speedInfo.units" text=""/>

<positionFix id="pos.speedInfo.speedUs" deltaX1="0" relatX1="0" deltaX2="-1" relatX2="1" deltaY1="0" relatY1="0.45" deltaY2="0" relatY2="1"/>
<!--/SpeedInfo -->

<!-- Scout compute traffic -->
<color id="_c.scoutInfo" color="ff0081ff"/> <!-- map.skin:_c.poi.shadow -->
<font id="_f.scoutInfo" name="nativeui" nameBorder="NONE" scale="nouser" size="36" leading="36"/>
<textStyle id="_t.scoutInfo" color="_c.scoutInfo" count="1" font1="_f.scoutInfo"/>
<static3d id="nv.scoutInfo.label" align="center" valign="center" textstyle="_t.scoutInfo" text="\xE0FA"/>
<!--/Scout compute traffic -->

<!-- target button -->
  <font id="font.black.20" name="bold" nameBorder="NONE" scale="yes" size="20" leading="22"/>
  <font id="font.icon.20"  name="special" nameBorder="NONE" scale="yes" size="20" leading="22"/>

  <color id="_c.ab.textIcon" color="ffffffc0"/>
  <color id="_c.ab.textDist" color="ffffffff"/>
  <textStyle id="_t.ab.textIcon" color="_c.ab.textIcon" count="1" font1="font.icon.20"/>
  <textStyle id="_t.ab.textDist" color="_c.ab.textDist" count="1" font1="font.black.20"/>

  <material id="_m.arrowButton.background" path="GuiOverlay\_speedWeatherInfo\bg_rub.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.arrowButton.background_" color="80ffffff" path="GuiOverlay\_speedWeatherInfo\bg_rub.png" flags="MfAoBlend MfColor MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>

  <button3d id="nv.arrowButton.container" children="nv.arrowButton.background" children_="nv.arrowButton.background_"/>
  <rubber3d id="nv.arrowButton.background" material="_m.arrowButton.background" rubber="$12,10,$12;$12,10,$12"/>
  <rubber3d id="nv.arrowButton.background_" material="_m.arrowButton.background_" rubber="$12,10,$12;$12,10,$12"/>

  <static3d id="nv.arrowButton.staticArrow" align="left" valign="center" textstyle="_t.ab.textIcon"/>
  <static3d id="nv.arrowButton.staticDist" align="left" valign="center" textstyle="_t.ab.textDist"/>
  <static3d id="nv.arrowButton.staticIcon" align="left" valign="center" textstyle="_t.ab.textIcon"/>
<!-- /target button -->

<!-- traffic view -->
  <material id="_m.trafficView" color="A0000000" flags="MfAoBlend"/>
  <?if day ?>
  <effectSetup id="es.trafficView" fadeTime="1.0" colorDecreased="0.4"/>
  <?endif day ?>
  <?if night ?>
  <effectSetup id="es.trafficView" fadeTime="1.0" colorDecreased="0.0"/>
  <?endif night ?>
<!--/traffic view -->


<!-- C3DWnd CNaviSign -->
  <color id="_c.nv.car.signs.text" color="FFFFFFFF"/>
  <font id="_f.car.signs" name="bold" nameBorder="NONE" scale="yes" size="18" leading="18"/>
  <rubber3d id="nv.car.signs" position="pos.nv.car.signs" textcolor="_c.nv.car.signs.text" align="center" valign="top" rubber="$6,4,$6;$4,48,$4"/>

  <!-- composition -->
  <static3d id="nv.roadName.text" textstyle="text.signs" precise="yes" align="left" valign="top" position="pos.roadName"/>
  <static3d id="nv.roadName.symbol" textstyle="text.signs" align="left" valign="top" position="pos.roadName"/>
  <shape3d id="nv.roadName.shape" material="mat.genDefault"/>

  <positionFix id="pos.roadName" deltaX1="0" relatX1="0" deltaX2="=w*0.5" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=#40" relatY2="0"/>
<!-- /C3DWnd CNaviSign -->
