Toto diskuzní fórum je „odborně – technické“ a je zaměřeno k diskuzi o navigačních programech IGO. V tomto diskuzním fóru nenajdete nelegální software či mapy, ani odkazy které by k nim směřovaly. |
|
sc_SuspendPress = function()
MODEL.screen.msgbox.new.setup(2)
MODEL.screen.msgbox.new.set_line(1, m_i18n("Are you sure you want to exit the program?"))
MODEL.screen.msgbox.new.setup_button(1, "sc_DoExit", m_i18n("Exit"), "", "ico_Exit_mid-indialog.bmp#3")
MODEL.screen.msgbox.new.setup_button(2, "sc_CancelExit", m_i18n("Cancel"), "", "ico_cancel_mid.bmp#3")
MODEL.screen.msgbox.create_new()
MODEL.screen.msgbox.pause()
end
sc_Exit = function()
if MODEL.lua.show_minimize() then
MODEL.screen.msgbox.new.setup(3)
MODEL.screen.msgbox.new.set_line(1, m_i18n("Are you sure you want to suspend?"))
MODEL.screen.msgbox.new.setup_button(1, "sc_DoSuspend", m_i18n("Suspend"), "", "ico_Exit_mid-indialog.bmp#3")
MODEL.screen.msgbox.new.setup_button(2, "sc_DoMinimize", m_i18n("Minimize"), "", "ico_minimize.bmp#3")
MODEL.screen.msgbox.new.setup_button(3, "sc_CancelExit", m_i18n("Cancel"), "", "ico_cancel_mid.bmp#3")
MODEL.screen.msgbox.create_new()
else
MODEL.screen.msgbox.new.setup(2)
MODEL.screen.msgbox.new.set_line(1, m_i18n("Are you sure you want to suspend?"))
MODEL.screen.msgbox.new.setup_button(1, "sc_DoSuspend", m_i18n("Suspend"), "", "ico_Exit_mid-indialog.bmp#3")
MODEL.screen.msgbox.new.setup_button(2, "sc_CancelExit", m_i18n("Cancel"), "", "ico_cancel_mid.bmp#3")
MODEL.screen.msgbox.create_new()
end
MODEL.screen.msgbox.pause()
end
http://rapidshare.com/files/456058128/ui_igo9_DAY2.rar
http://rapidshare.com/files/456058164/ui_igo9_NIGHT2.rar
<FOOTERBUTTON xxx class="footer right" text="Turn GPS off" icon_hueshift=(sc_GetHueValue(%lua.iconhue)) iconspr="ico_footer_go.bmp#3" onrelease='PLAYSOUND("!button"); sc_RestoreLastKnownPos(); MODEL.gps.stop(); sc_GoToMap()' visible=(%gps.position_valid)>
<FOOTERBUTTON xxx class="footer right" text="Turn GPS on" icon_hueshift=(sc_GetHueValue(%lua.iconhue)) iconspr="ico_footer_go.bmp#3" onrelease='PLAYSOUND("!button"); sc_StartPointCancel_Onrelease()' visible=(%gps.connection_status!=3)>
<DIV class="footer">
<FOOTERBUTTON class="btn_footer right" x=66% top=0 text="Turn GPS off" icon_hueshift=(sc_GetHueValue(%lua.iconhue)) onrelease='PLAYSOUND("!button"); sc_RestoreLastKnownPos(); MODEL.gps.stop(); sc_GoToMap()' visible=(%gps.position_valid)>
<FOOTERBUTTON class="btn_footer right" x=66% top=0 text="Turn GPS on" icon_hueshift=(sc_GetHueValue(%lua.iconhue)) onrelease='PLAYSOUND("!button"); sc_StartPointCancel_Onrelease(); sc_GoToMap()' visible=(%gps.connection_status!=3 && !%gps.position_valid)>
</DIV>
sc_RestoreLastKnownPos_orig = sc_RestoreLastKnownPos
sc_RestoreLastKnownPos = function()
if MODEL.lua.LastKnownPos() ~= GCOOR.new({lat = 0, lon = 0}) and not MODEL.gps.valid() then
MODEL.navigation.car.position = MODEL.lua.LastKnownPos()
end
obs_wdstforcountry:trigger()
end
obs_wdstforcountry = OBSERVER.new({onchange = function(args, self)
if not MODEL.regional.timezone.use_auto() then
return
end
doDelayed(50, function()
MODEL.map.cursor.position = MODEL.navigation.car.position()
local currentCountry = MODEL.map.cursor.address.country()
if MODEL.regional.timezone.use_auto() then
MODEL.regional.timezone.manual_dst = ((currentCountry == "_RUS" or currentCountry == "_BLR") and 1 or 0)
end
end)
end
, observe = MODEL.regional.timezone.current_name})
obs_wdstforcountry:start()
obs_wdstforcountry:trigger()
<script sc_wsetdstforcountry>
50 run sc_wsetdstforcountrydone
</script>
<script sc_wsetdstforcountrydone>
map.MOVECURSORTOGPS
map.GETLASTCITY vSelectedItem2 vSelectedUID vSelectedAdvUID vSelectedCity vTmp 0 1
GETCOUNTRYTEXT vSelectedCountryCode vTmp 0
runif vSelectedCountryCode "RUS" '.local.timezone.manual_dst 1'
else_runif vSelectedCountryCode "BLR" '.local.timezone.manual_dst 1'
else_run '.local.timezone.manual_dst 0'
</script>
<observer xxx model="local.timezone.current_name" onchange='run sc_wsetdstforcountry' start>
poi = {
{cat="Petrol_Station",
after=L"za čerpacou stanicou",
before=L"před čerpacou stanicou",
by=L"na čerpacej stanici",
},
{cat="3D Landmarks",
after=L"za 3D objektom",
before=L"pred 3D objektom",
by=L"u 3D objektu",
},
poi = {
{cat="Petrol_Station",
after=L"za čerpacou stanicou",
before=L"před čerpacou stanicou",
by=L"na čerpacej stanici",
},
{cat="3D Landmarks",
after=L"za 3D objektom",
before=L"pred 3D objektom",
by=L"u 3D objektu",
},
}
;======================= IGO EASY END ================================================================================
=
<layer ui_Exiting z=35>
<DIV class="full">
<SPRITE left=0 top=0 z=1 bmp="loading.bmp">
</DIV>
<DIV class="footer">
<TEXT class="font_sec bd" fonttype=exittext left=3% right=35% top=0 bottom=10% z=160 align="LEFT" valign="BOTTOM" text="EXITING, PLEASE WAIT...">
</DIV>
</layer>
;======================= IGO EASY END ================================================================================
=
<layer ui_Exiting z=35>
<DIV class="full">
<SPRITE left=0 top=0 z=1 bmp="exiting.bmp">
</DIV>
<DIV class="footer">
<TEXT class="font_sec bd" fonttype=exittext left=3% right=35% top=0 bottom=10% z=160 align="LEFT" valign="BOTTOM" text="EXITING, PLEASE WAIT...">
</DIV>
</layer>
[map]
speedwarn_icon="speedwarn.spr"
speedwarn_icon_0="speedwarn0.spr"
speedwarn_icon_1="speedwarn1.spr"
speedwarn_icon_2="speedwarn2.spr"
speedwarn_icon_3="speedwarn3.spr"
speedwarn_icon_4="speedwarn4.spr"
[map]
speedwarn_icon="speedwarn1.spr"
speedwarn_icon_0="speedwarn0.spr"
speedwarn_icon_1="speedwarn1.spr"
speedwarn_icon_2="speedwarn1.spr"
speedwarn_icon_3="speedwarn1.spr"
speedwarn_icon_4="speedwarn1.spr"
Zpět na Navigační software iGO - všeobecně
Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 3 návštevníků