
<element_template et_FindHistory_wr>
	<SPRITE xxx	                 x=6 y=5 w=33 h=33 z=1 align="CENTER" valign="CENTER" iconmodel="*.icon"	iconindex=1>
	<BUTTON xxx template=btn_4c x=0 align="LEFT+40" valign="CENTER" textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 0,run sc_SearchHistoryAndGo'>
	<BUTTON xxx template=d_btn_list x=160 iconspr="$d_ico_loadroute.bmp" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 1, run sc_SearchHistoryAndGo' enabledmodel="!*.isempty" usefocus=0>
	<BUTTON xxx template=d_btn_list x=213 iconspr="ico_dest.bmp" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 2, run sc_SearchHistoryAndGo' enabledmodel="!*.isempty&navigation.has_route" usefocus=0>
	<BUTTON xxx template=d_btn_list x=266 iconspr="ico_via.bmp" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 3, run sc_SearchHistoryAndGo' enabledmodel="!*.isempty&navigation.has_route" usefocus=0>
</element_template>

<layer ui_FindHistory_wr z=30>
	<LIST lstFH_History_wr template=tlist element_template="et_FindHistory_wr" listmodel="mydata.history.list">
	<TEXT   xxx template=txt_empty text="<No History Items>" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx             template=spr_empty visiblemodel="mydata.history.list.isempty">
	<TEXT   xxx             template=pageindex textmodel_wstr="ui.lstFH_History_wr.page_counter">
	<BUTTON xxx             template=prevpage clickmodel="ui.lstFH_History_wr.prevpage" enabledmodel="ui.lstFH_History_wr.prevpage.valid" template=slow_repeat>
	<BUTTON xxx             template=nextpage clickmodel="ui.lstFH_History_wr.nextpage" enabledmodel="ui.lstFH_History_wr.nextpage.valid" template=slow_repeat>
	
	<BUTTON xxx template=footer2_1a text="Without\nRoute" onrelease='run d_ChandeModeListRouteHistory 0'>
	<sprite xxx template=spr_dfooter>
</layer>

<element_template et_FindHistory_wor>
	<SPRITE xxx	                 x=6 y=5 w=33 h=33 z=1 align="CENTER" valign="CENTER" iconmodel="*.icon"	iconindex=1>
	<BUTTON xxx template=tlist_a align="LEFT+40" valign="CENTER" textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 0,run sc_SearchHistoryAndGo'>
</element_template>

<layer ui_FindHistory_wor z=30>
	<LIST lstFH_History_wor template=tlist element_template="et_FindHistory_wor" listmodel="mydata.history.list">
	<TEXT   xxx template=txt_empty text="<No History Items>" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx             template=spr_empty visiblemodel="mydata.history.list.isempty">
	<TEXT   xxx             template=pageindex textmodel_wstr="ui.lstFH_History_wor.page_counter">
	<BUTTON xxx             template=prevpage clickmodel="ui.lstFH_History_wor.prevpage" enabledmodel="ui.lstFH_History_wor.prevpage.valid" template=slow_repeat>
	<BUTTON xxx             template=nextpage clickmodel="ui.lstFH_History_wor.nextpage" enabledmodel="ui.lstFH_History_wor.nextpage.valid" template=slow_repeat>
	<BUTTON xxx template=footer2_1a text="With\nRoute" onrelease='run d_ChandeModeListRouteHistory 0'>
	<sprite xxx template=spr_dfooter>
</layer>

<element_template et_ManageHistory>
	<BUTTON xxx template=btn_4d iconspr="x.bmp#3" text="" clickmodel="mydata.history.list.setcurrent $i" onrelease='run sc_et_ManageHistoryDel_OnRelease' usefocus=0>
	<SPRITE xxx	x=3	w=38 y=6 z=1 align="CENTER" iconmodel="*.icon"	iconindex=1 usefocus=0>
	<BUTTON xxx template=btn_4b_icon textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i">
	<BUTTON xxx z=100 template=btn_4b_icon alpha=0 disable>
</element_template>

<layer ui_ManageHistory z=30>
	<LIST lstMH_History template=tlist element_template="et_ManageHistory" listmodel="mydata.history.list">
	<TEXT   xxx             template=txt_empty text="<No History Items>" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx             template=spr_empty visiblemodel="mydata.history.list.isempty">
	<TEXT   xxx             template=pageindex textmodel_wstr="ui.lstMH_History.page_counter">
	<BUTTON xxx             template=prevpage clickmodel="ui.lstMH_History.prevpage" enabledmodel="ui.lstMH_History.prevpage.valid" template=slow_repeat>
	<BUTTON xxx             template=nextpage clickmodel="ui.lstMH_History.nextpage" enabledmodel="ui.lstMH_History.nextpage.valid" template=slow_repeat>
	
	<BUTTON btnMH_ClearAll  template=footer2_1a text="Clear History" enabledmodel="!mydata.history.list.isempty" onrelease='run sc_btnMH_ClearAll_OnRelease'> 
	<sprite xxx template=spr_dfooter>
</layer>
