
  <color id="pen.textPhoto1"     color="ff018965"/> 
  <color id="pen.textPhoto2"     color="ff6b9ede"/>
  <color id="pen.textPhoto3"     color="ff0063c8"/>
  <color id="pen.textPhoto4"     color="ffff0084"/>
  <color id="pen.textPhotoAutor" color="ffffffff"/>
<!-- $8,7,$19,2,$8;$5,28,$15 -->

  <material id="_m.contextWindow" path="GuiOverlay\rubberWindow.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <rubber3d id="ui3d.contextWindow" material="_m.contextWindow" position="pos.contextWindow" rubber="$8,7,$19,2,$8;$5,28,$15"/>
  <positionFix id="pos.contextWindow" deltaX1="=-3" relatX1="0" deltaX2="=6" relatX2="1" deltaY1="=-3" relatY1="0" deltaY2="=12" relatY2="1"/>

  <material id="_m.contextWindowPano" path="GuiOverlay\rubberWindowLine.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <shape3d id="ui3d.contextWindowPano" class="C3DShape" material="_m.contextWindowPano" position="pos.contextWindowPano" rubber="$8,4,$20,4,$8;$5,23,$4,3:18#,$13"/>
  <positionFix id="pos.contextWindowPano" deltaX1="=-3" relatX1="0" deltaX2="=6" relatX2="1" deltaY1="=-3" relatY1="0" deltaY2="=12" relatY2="1"/>
<!--
  <material id="_m.contextWindow.b0" path="GuiOverlay\rubberWindow_b0.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.contextWindow.b1" path="GuiOverlay\rubberWindow_b1.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.contextWindow.g0" path="GuiOverlay\rubberWindow_g0.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>

  <rubber3d id="ui3d.contextWindow.b0" material="_m.contextWindow.b0" position="pos.contextWindow" rubber="$8,7,$19,2,$8;$5,28,$15"/>
  <rubber3d id="ui3d.contextWindow.b1" material="_m.contextWindow.b1" position="pos.contextWindow" rubber="$8,7,$19,2,$8;$5,28,$15"/>
  <rubber3d id="ui3d.contextWindow.g0" material="_m.contextWindow.g0" position="pos.contextWindow" rubber="$8,7,$19,2,$8;$5,28,$15"/>
-->

<!-- alternativne context okna -->
  <material id="_m.contextWindow.r0"  path="GuiOverlay\rubberRouteAlt.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.contextWindow.r0_" path="GuiOverlay\rubberRouteAlt.png" color="d0ffffff" flags="MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.contextWindow.r1"  path="GuiOverlay\rubberRouteAlt_.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.contextWindow.r1_" path="GuiOverlay\rubberRouteAlt_.png" color="d0ffffff" flags="MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>

  <rubber3d id="ui3d.contextWindow.r0" material="_m.contextWindow.r0" position="pos.contextWindow.r" rubber="$9,*,$8;$8,*,$12"/>
  <rubber3d id="ui3d.contextWindow.r0_" material="_m.contextWindow.r0_" position="pos.contextWindow.r" rubber="$9,*,$8;$8,*,$12"/>
  <rubber3d id="ui3d.contextWindow.r1" material="_m.contextWindow.r1" position="pos.contextWindow.r" rubber="$9,*,$8;$8,*,$12"/>
  <rubber3d id="ui3d.contextWindow.r1_" material="_m.contextWindow.r1_" position="pos.contextWindow.r" rubber="$9,*,$8;$8,*,$12"/>

  <positionFix id="pos.contextWindow.r" deltaX1="=-5" relatX1="0" deltaX2="=5" relatX2="1" deltaY1="=-3" relatY1="0" deltaY2="=7" relatY2="1"/>
  <font id="_f.ui3d.ctext" name="bold" nameBorder="NONE" scale="yes" size="12" leading="12"/>
  <positionFix id="pos.ui3d.ctext" deltaX1="0" relatX1="0" deltaX2="=w*0.80" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=###70" relatY2="0"/>

  <color id="_c.ui3d.ctext.white" color="ffffffff"/>
  <textStyle id="_t.ui3d.ctext.white" color="_c.ui3d.ctext.white" count="1" font1="_f.ui3d.ctext"/>
  <static3d id="ui3d.ctext.white" align="left" valign="top" textstyle="_t.ui3d.ctext.white" position="pos.ui3d.ctext"/>

  <color id="_c.ui3d.ctext.black" color="ff000000"/>
  <textStyle id="_t.ui3d.ctext.black" color="_c.ui3d.ctext.black" count="1" font1="_f.ui3d.ctext"/>
  <static3d id="ui3d.ctext.black" align="left" valign="top" textstyle="_t.ui3d.ctext.black" position="pos.ui3d.ctext"/>

  <button3d id="ui3d.btnContextWindow.1" children="ui3d.contextWindow.r0" children_="ui3d.contextWindow.r0_"/>
  <button3d id="ui3d.btnContextWindow.2" children="ui3d.contextWindow.r1" children_="ui3d.contextWindow.r1_"/>

<!--/alternativne context okna -->

  <textStyle id="text.photo.label" color="pen.textWhite" count="1" font1="font.black.12"/>

  <static3d id="ui3d.photo.label" position="pos.ui3d.photo.label" class="C3DStatic" align="center" valign="center" textstyle="text.photo.label"/>
  <positionFix id="pos.ui3d.photo.label" deltaX1="0" relatX1="0" deltaX2="0" relatX2="0.80" deltaY1="0" relatY1="0" deltaY2="=#22" relatY2="0"/>


  <static3d id="ui3d.photo.panoramio1" position="pos.ui3d.photo.icon" class="C3DStatic" align="left" valign="bottom" color="pen.textPhoto1" font="font.icon.20" text="\xe012"/>
  <static3d id="ui3d.photo.panoramio2" position="pos.ui3d.photo.icon" class="C3DStatic" align="left" valign="bottom" color="pen.textPhoto2" font="font.icon.20" text="\xe013"/>

  <static3d id="ui3d.photo.flickr1" position="pos.ui3d.photo.icon" class="C3DStatic" align="left" valign="bottom" color="pen.textPhoto3" font="font.icon.20" text="\xe014"/>
  <static3d id="ui3d.photo.flickr2" position="pos.ui3d.photo.icon" class="C3DStatic" align="left" valign="bottom" color="pen.textPhoto4" font="font.icon.20" text="\xe015"/>

  <positionFix id="pos.ui3d.photo.icon" deltaX1="0" relatX1="0" deltaX2="0" relatX2="0.5" deltaY1="0" relatY1="0" deltaY2="=#14" relatY2="0"/>

  <static3d id="ui3d.photo.link" position="pos.ui3d.photo.link" class="C3DStatic" align="right" valign="bottom" color="pen.textPhotoAutor" font="font.black.10" text=""/>
  <positionFix id="pos.ui3d.photo.link" deltaX1="0" relatX1="0.5" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="=(#14)" relatY2="0"/>

  <shape3d id="ui3d.photo.picture" position="pos.ui3d.photo.picture" class="C3DShape"/>
  <positionFix id="pos.ui3d.photo.picture" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>

  <shape3d id="ui3d.photo.more" position="pos.ui3d.photo.more" class="C3DShape" material="_m.photo.more" align="center" valign="center"/>
  <positionFix id="pos.ui3d.photo.more" deltaX1="0" relatX1="0" deltaX2="=texWidth('_m.photo.more')" relatX2="0" deltaY1="=texHeight('_m.photo.more')" relatY1="0" deltaY2="0" relatY2="0"/>
  <material id="_m.photo.more(?)"	path="GuiOverlay\more(?).png" flags="MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>

  <shape3d id="ui3d.photo.more.left" position="pos.ui3d.photo.more" class="C3DShape"/>

<!-- traffic window -->
  <shape3d id="ui3d.traffic.icon" position="pos.ui3d.traffic.icon" class="C3DShape" material="NONE"/>
  <positionFix id="pos.ui3d.traffic.icon" deltaX1="0" relatX1="0" deltaX2="=#20" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=#18" relatY2="0"/>

<!--/traffic window -->

  <color id="pen.textRating" color="ffff9c00"/>  
  <textStyle id="text.context.rating" color="pen.textRating" count="1" font1="font.icon.14"/>
  <static3d id="ui3d.context.rating" position="pos.ui3d.context.rating" align="left" valign="center" textstyle="text.context.rating"/>
  <positionFix id="pos.ui3d.context.rating" deltaX1="0" relatX1="0" deltaX2="=w*0.80" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=#22" relatY2="0"/>

  <color id="pen.textRatingRest" color="ff808080"/>
  <textStyle id="text.context.ratingRest" color="pen.textRatingRest" count="1" font1="font.icon.14"/>
  <static3d id="ui3d.context.ratingRest" position="pos.ui3d.context.ratingRest" align="left" valign="center" textstyle="text.context.ratingRest"/>
  <positionFix id="pos.ui3d.context.ratingRest" deltaX1="0" relatX1="0" deltaX2="=w*0.80" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=#22" relatY2="0"/>

  <textStyle id="text.context.label" color="pen.textWhite" count="1" font1="font.black.14"/>
  <textStyle id="text.context.label_delay" color="pen.textWhite" count="1" font1="font.black.14"/>
  <static3d id="ui3d.context.label" position="pos.ui3d.context.label" align="left" valign="center" textstyle="text.context.label"/>
  <positionFix id="pos.ui3d.context.label" deltaX1="0" relatX1="0" deltaX2="=w*0.80" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=#22" relatY2="0"/>

  <textStyle id="text.context.distance" color="pen.textWhite" count="1" font1="font.black.14"/>
  <textStyle id="text.context.distance_delay" color="pen.textRedYellow" count="1" font1="font.black.14"/>
  <static3d id="ui3d.context.distance" align="left" valign="center" textstyle="text.context.distance"/>
  <static3d id="ui3d.context.distance_delay" align="left" valign="center" textstyle="text.context.distance_delay"/>

  <textStyle id="text.debug.label" color="pen.textRedYellow" count="1" font1="font.light.14"/>
  <static3d id="ui3d.debug.label" position="pos.ui3d.debug.label" class="C3DStatic" align="left" valign="top" textstyle="text.debug.label" multiLine="yes"/>
  <positionFix id="pos.ui3d.debug.label" deltaX1="0" relatX1="0" deltaX2="=w" relatX2="0" deltaY1="0" relatY1="0" deltaY2="=h" relatY2="0"/>

  <shape3d id="ui3d.debug.icon" material="_m.speedInfo.point" position="pos.ui3d.debug.icon"/>
  <shape3d id="ui3d.debug.icon_" color="pen.textPhoto2" position="pos.ui3d.debug.icon"/>
  <button3d id="ui3d.debug.button" position="pos.ui3d.debug.icon" children="ui3d.debug.icon" children_="ui3d.debug.icon_, ui3d.debug.icon"/>
  <positionFix id="pos.ui3d.debug.icon" deltaX1="0" relatX1="0" deltaX2="32" relatX2="0" deltaY1="0" relatY1="0" deltaY2="32" relatY2="0"/>


  <material id="_m.context.finish(?)" path="AppContext\finish(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.context.info(?)"   path="AppContext\info(?).png"   flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.context.point(?)"  path="AppContext\point(?).png"  flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.context.start(?)"  path="AppContext\start(?).png"  flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.context.vehicle(?)"   path="AppContext\vehicle(?).png"   flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.context.pedestrian(?)"   path="AppContext\pedestrian(?).png"   flags="MfReplaceFunction MfColor MfAoBlendByTexture MfExpand MfForceTfqLinear MfForceFirstMipMap0" groupid="TgIDUI" tc="bmp_expand_only"/>

  <shape3d id="ui3d.context.finish" material="_m.context.finish" align="center" valign="center"/>
  <shape3d id="ui3d.context.info" material="_m.context.info" align="center" valign="center"/>
  <shape3d id="ui3d.context.point" material="_m.context.point" align="center" valign="center"/>
  <shape3d id="ui3d.context.start" material="_m.context.start" align="center" valign="center"/>
  <shape3d id="ui3d.context.vehicle" material="_m.context.vehicle" align="center" valign="center"/>
  <shape3d id="ui3d.context.pedestrian" material="_m.context.pedestrian" align="center" valign="center"/>


<!--
<font id="font.friendsName"	    name="bold"              scale="yes" size="12" leading="12"/>
<font id="font.friendsDistance"	name="bold"              scale="yes" size="10" leading="10"/>
<textStyle id="_t.detailsName"   color="pen.friendsName.textSel"  vOffset="0.1875" hOffset="0.1875" count="1" font1="font.friendsName" />
<textStyle id="_t.detailsDistance" color="pen.friendsName.textSel" vOffset="0.1875" hOffset="0.1875" count="1" font1="font.friendsDistance"/>
-->