  
  <color id="fill.nv.edit.grayTrans" color="19808080"/>
  <gradient id="fill.nv.edit.background" colors="FD292e44 E3000000" positions="00 ff"/>
  <gradient id="fill.nv.edit.gradLeft" colors="60AFABAF 20AFABAF" positions="00 ff" orientation="horizontal"/>
  <gradient id="fill.nv.edit.gradRight" colors="20AFABAF 60AFABAF" positions="00 ff" orientation="horizontal"/>
  <gradient id="fill.nv.edit.gradCenter" colors="60AFABAF 20AFABAF" positions="00 ff" orientation="vertical"/>
  <material id="bmp.nv.edit.menu(?)" path="AppNavibar\menu(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="bmp.nv.edit.search(?)" path="AppNavibar\search(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="bmp.nv.edit.back(?)" path="AppNavibar\back(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>

  <font id="font.ui3d.edit.light.18"  name="regular"  nameBorder="NONE" scale="nouser" size="18" leading="18"/>
  <font id="font.ui3d.edit.light.14"  name="regular"  nameBorder="NONE" scale="nouser" size="14" leading="14"/>
  <font id="font.ui3d.edit.bold.14"  name="bold"  nameBorder="NONE" scale="nouser" size="14" leading="14"/>

  <textStyle id="text.btnBack" color="pen.textWhite" count="1" font1="font.ui3d.edit.light.18"/>

  <wnd3d id="nv.edit.bottomBar" position="pos.nv.edit.bottomBar" shapes="nv.edit.background, nv.edit.shp.shadow, nve.decor.v1, nve.decor.v2, nve.decor.h1, nve.decor.h2" 
	compass="nv.edit.compass3"/>

  <positionFix id="pos.nv.edit.bottomBar" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=##-70" relatY1="1" deltaY2="0" relatY2="1"/>

  <shape3d id="nv.edit.background" material="mat.genTransparentBlend" gradient="fill.nv.edit.background"/>

  <gradient id="fill.nv.edit.shp.shadow" colors="00000000 10000000" positions="00 ff"/>
  <shape3d id="nv.edit.shp.shadow" position="pos.nv.edit.shp.shadow" material="mat.genTransparentBlend" gradient="fill.nv.edit.shp.shadow"/>
  <positionFix id="pos.nv.edit.shp.shadow" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=##-20" relatY1="0" deltaY2="0" relatY2="0"/>

<!-- deltaY1="=##1" relatY1="0.5" deltaY2="=##-1" relatY2="1"
deltaY1="=##1" relatY1="0.0" deltaY2="=##-1" relatY2="0.5" -->


  <button3d id="nv.edit.btnMenu" position="pos.nv.edit.btnMenu" children="nv.edit.btnMenu.icon" children_="nv.edit.btnMenu.grad, nv.edit.btnMenu.icon"/>
  <positionFix id="pos.nv.edit.btnMenu" deltaX1="0" relatX1="=340/480" deltaX2="0" relatX2="1.0" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1.0"/>

    <shape3d id="nv.edit.btnMenu.grad" class="C3DShape" material="mat.genTransparentBlend" gradient="fill.nv.edit.gradRight"/>
    <shape3d id="nv.edit.btnMenu.icon" position="pos.nv.edit.btnMenu.icon" class="C3DShape" material="bmp.nv.edit.menu" align="center" valign="center"/>

    <positionFix id="pos.nv.edit.btnMenu.icon" deltaX1="=##4" relatX1="0" deltaX2="=##-4" relatX2="1" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
    <positionFix id="pos.nv.edit.btnMenu.label" deltaX1="=##4" relatX1="0" deltaX2="=-texWidth('bmp.nv.edit.menu')-(##8)" relatX2="1" deltaY1="3" relatY1="0" deltaY2="0" relatY2="1"/>

    <button3d id="nv.edit.btnDone" position="pos.nv.edit.btnMenu" children="nv.edit.btnDone.label" children_="nv.edit.btnMenu.grad, nv.edit.btnDone.label"/>
  <static3d id="nv.edit.btnDone.label" position="pos.nv.edit.btnDone.label" class="C3DStatic" align="right" valign="center" textstyle="text.btnBack" text="button.done"/>
  <positionFix id="pos.nv.edit.btnDone.label" deltaX1="=##4" relatX1="0" deltaX2="=##-4" relatX2="1" deltaY1="3" relatY1="0" deltaY2="0" relatY2="1"/>


  <button3d id="nv.edit.btnBack" position="pos.nv.edit.btnBack" children="nv.edit.btnBack.icon, nv.edit.btnBack.static" children_="nv.edit.btnBack.grad, nv.edit.btnBack.icon, nv.edit.btnBack.static"/>
  <positionFix id="pos.nv.edit.btnBack" deltaX1="0" relatX1="0" deltaX2="0" relatX2="=140/480" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1.0"/>

    <shape3d id="nv.edit.btnBack.grad" material="mat.genTransparentBlend" gradient="fill.nv.edit.gradLeft"/>
    <shape3d id="nv.edit.btnBack.icon" material="bmp.nv.edit.back" align="center" valign="center"/>
    <static3d id="nv.edit.btnBack.static" class="C3DStatic" align="left" valign="center" textstyle="text.btnBack" text=""/>
    

  <button3d id="nv.edit.btnSearch" position="pos.nv.edit.btnSearch" children="nv.edit.btnSearch.icon" children_="nv.edit.btnSearch.grad, nv.edit.btnSearch.icon"/>
  <positionFix id="pos.nv.edit.btnSearch" deltaX1="0" relatX1="=140/480" deltaX2="0" relatX2="=340/480" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1.0"/>

    <shape3d id="nv.edit.btnSearch.grad" material="mat.genTransparentBlend" gradient="fill.nv.edit.gradCenter"/>
    <shape3d id="nv.edit.btnSearch.icon" material="bmp.nv.edit.search" align="center" valign="center"/>


  <!-- Compass v1 -->
  <textStyle id="_t.compass1" color="pen.textWhite" colorDis="pen.textGray" count="1" font1="font.ui3d.edit.bold.14"/>
  <material id="bmp.uiCompass1Back" path="GuiOverlay\compass_back.png" flags="MfReplaceFunction MfAoBlendByTexture MfWmClampToEdge" groupid="TgIDUI" tc="bmp_only"/>
  <material id="bmp.uiCompass1Top" path="GuiOverlay\compass_top.png" flags="MfReplaceFunction MfAoBlendByTexture MfWmClampToEdge" groupid="TgIDUI" tc="bmp_only"/>
  <material id="bmp.uiCompass1Clicked" color="80ffffff" flags="MfAoBlend"/>
  <material id="bmp.uiCompass1Disabled" color="80000000" flags="MfAoBlend"/>

  <wnd3d id="nv.edit.compass1" class="CUICompass" position="pos.nv.edit.compass1" materialBottom="bmp.uiCompass1Back" materialTop="bmp.uiCompass1Top" materialClicked="bmp.uiCompass1Clicked" materialDisabled="bmp.uiCompass1Disabled" font="font.ui3d.edit.light.14" text="_t.compass1"/> 
  <positionFix id="pos.nv.edit.compass1" deltaX1="=##2" relatX1="=0" deltaX2="=##-2" relatX2="1" deltaY1="=##2" relatY1="0" deltaY2="0" relatY2="0.5"/>
  <!--/Compass v1 -->

  <!-- Compass v2 -->
    <textStyle id="_t.compass2" color="pen.textWhite" colorDis="pen.textGray" count="1" font1="font.ui3d.edit.bold.14"/>
    <color id="_c.nv.edit.compass2.tick" color="b0b0b0"/>
    <wnd3d id="nv.edit.compass2" class="CUICompass2" position="pos.nv.edit.compass2" clrTicks="_c.nv.edit.compass2.tick"/> 
    <positionFix id="pos.nv.edit.compass2" deltaX1="=##2" relatX1="=0" deltaX2="=##-2" relatX2="1" deltaY1="=##2" relatY1="0" deltaY2="0" relatY2="0.5"/>

    <static3d id="nv.compass2.label" position="pos.nv.compass2.label" textstyle="_t.compass2" align="center" valign="center" precise="yes"/>
    <positionFix id="pos.nv.compass2.label" deltaX1="=##-16" relatX1="=0" deltaX2="=##16" relatX2="0" deltaY1="0" relatY1="0.1" deltaY2="0" relatY2="0.9"/>

    <material id="_m.nv.compass2.triTop(?)" path="AppNavibar\Compass\tri_top(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
    <material id="_m.nv.compass2.triBtm(?)" path="AppNavibar\Compass\tri_bottom(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
    <shape3d id="nv.compass2.tritop" position="pos.nv.compass2.tritop" material="_m.nv.compass2.triTop" align="center" valign="center"/>
    <shape3d id="nv.compass2.tribtm" position="pos.nv.compass2.tribtm" material="_m.nv.compass2.triBtm" align="center" valign="center"/>
    <positionFix id="pos.nv.compass2.tritop" deltaX1="=-(texWidth('_m.nv.compass2.triTop')+1)/2" relatX1="0.5" deltaX2="=texWidth('_m.nv.compass2.triTop')/2" relatX2="0.5" deltaY1="0" relatY1="0" deltaY2="=texHeight('_m.nv.compass2.triTop')" relatY2="0.0"/>
    <positionFix id="pos.nv.compass2.tribtm" deltaX1="=-(texWidth('_m.nv.compass2.triBtm')+1)/2" relatX1="0.5" deltaX2="=texWidth('_m.nv.compass2.triBtm')/2" relatX2="0.5" deltaY1="=-texHeight('_m.nv.compass2.triBtm')" relatY1="1" deltaY2="0" relatY2="1"/>
  <!--/Compass v2 -->

  <!-- Compass v3 -->
    <color id="_c.nv.edit.compass3.red" color="ff0000"/>
    <wnd3d id="nv.edit.compass3" class="CUICompass3" position="pos.nv.edit.compass3" 
      children="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.red, nv.compass3.top" 
      children_="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.red, nv.compass3.top_" 
      disabled="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.red, nv.compass3.top__"/> 
    <positionFix id="pos.nv.edit.compass3" deltaX1="=##2" relatX1="=0" deltaX2="=##-2" relatX2="1" deltaY1="=##2" relatY1="0" deltaY2="0" relatY2="0.5"/>

    <wnd3d id="nv.compass3.ticks" class="CUICompass3Ticks" material="bmp.compass3.ticks" font="font.ui3d.edit.light.14"/>
    <material id="bmp.compass3.ticks" color="ff000000" flags="MfAoBlend"/>

    <shape3d id="nv.compass3.bottom" material="bmp.uiCompass1Back"/>
    <shape3d id="nv.compass3.top" material="bmp.uiCompass1Top"/>
    <shape3d id="nv.compass3.top_" material="bmp.uiCompass1Clicked"/>
    <shape3d id="nv.compass3.top__" material="bmp.uiCompass1Disabled"/>
    <shape3d id="nv.compass3.red" position="pos.nv.compass3.red" color="_c.nv.edit.compass3.red"/>
    <positionFix id="pos.nv.compass3.red" deltaX1="=-1" relatX1="0.5" deltaX2="=1" relatX2="0.5" deltaY1="2" relatY1="0" deltaY2="-2" relatY2="1"/>
  <!--/Compass v3 -->


  <!-- screen -->
  <button3d id="ui3d.edit.zoomIn" position="pos.ui3d.edit.zoomIn" children="ui3d.common.zoomIn" children_="ui3d.common.zoomIn_"/>
  <button3d id="ui3d.edit.zoomSwap2D" position="pos.ui3d.edit.zoomSwap" children="ui3d.common.zoomSwap2D" children_="ui3d.common.zoomSwap2D_"/>
  <button3d id="ui3d.edit.zoomSwap3D" position="pos.ui3d.edit.zoomSwap" children="ui3d.common.zoomSwap3D" children_="ui3d.common.zoomSwap3D_"/>
  <button3d id="ui3d.edit.zoomOut" position="pos.ui3d.edit.zoomOut" children="ui3d.common.zoomOut" children_="ui3d.common.zoomOut_"/>

  <positionFix id="pos.ui3d.edit.zoomIn" deltaX1="=-texWidth('bmp.uiZoomIn')" relatX1="1" deltaX2="0" relatX2="1" deltaY1="=(-##7)-texHeight('bmp.uiZoomSwap2D')/2-texHeight('bmp.uiZoomIn')" relatY1="0.5" deltaY2="=(-##7)-texHeight('bmp.uiZoomSwap2D')/2" relatY2="0.5"/>
  <positionFix id="pos.ui3d.edit.zoomSwap" deltaX1="=-texWidth('bmp.uiZoomSwap2D')" relatX1="1" deltaX2="0" relatX2="1" deltaY1="=(-##7)-texHeight('bmp.uiZoomSwap2D')/2" relatY1="0.5" deltaY2="=(-##7)+(texHeight('bmp.uiZoomSwap2D')+1)/2" relatY2="0.5"/>
  <positionFix id="pos.ui3d.edit.zoomOut" deltaX1="=-texWidth('bmp.uiZoomOut')" relatX1="1" deltaX2="0" relatX2="1" deltaY1="=(-##7)+(texHeight('bmp.uiZoomSwap2D')+1)/2" relatY1="0.5" deltaY2="=(-##7)+(texHeight('bmp.uiZoomSwap2D')+1)/2+texHeight('bmp.uiZoomOut')" relatY2="0.5"/>

  <!-- infobar - doplnit materialy -->
  <wnd3d id="ui3d.infoBarEdit" position="pos.ui3d.ped.infoBar" static="ui3d.ped.infoBar.static" shapes="ui3d.ped.infoBar.background, ui3d.ped.infoBar.shadow"/>


<!-- priesvitne buttony -->
  <button3d id="ui3d.edit.btnTransparent" transparent="true" children="" children_="nv.edit.shp.transparent"/>
  <shape3d id="nv.edit.shp.transparent" material="mat.genTransparentBlend" color="fill.nv.edit.grayTrans"/>


<material id="_m.nve.line.v" path="AppNavibar\line_v.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<material id="_m.nve.line.h" path="AppNavibar\line_h.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<shape3d id="nve.decor.v1" position="pos.nve.decor.v1" material="_m.nve.line.v"/>
<shape3d id="nve.decor.v2" position="pos.nve.decor.v2" material="_m.nve.line.v"/>
<shape3d id="nve.decor.h1" position="pos.nve.decor.h1" material="_m.nve.line.h"/>
<shape3d id="nve.decor.h2" position="pos.nve.decor.h2" material="_m.nve.line.h"/>

<position id="pos.nve.decor.v1" reference="pos.nv.edit.btnSearch"    deltaX1="0"  relatX1="0" deltaX2="2"  relatX2="0" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
<position id="pos.nve.decor.v2" reference="pos.nv.edit.btnMenu"      deltaX1="0"  relatX1="0" deltaX2="2"  relatX2="0" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
<position id="pos.nve.decor.h1" deltaX1="0"  relatX1="0" deltaX2="0"  relatX2="1" deltaY1="0" relatY1="0" deltaY2="2" relatY2="0"/>
<position id="pos.nve.decor.h2" deltaX1="0"  relatX1="0" deltaX2="0"  relatX2="1" deltaY1="0" relatY1="0.5" deltaY2="2" relatY2="0.5"/>

