<?xml version="1.0"  encoding="Windows-1251"?>
<data>

<!-- описания окон гуи в главном меню -->

<!-- шаблон кнопок главного меню -->
<mainmenu_base_button image="image_gui_button" label_color="255 33 31 127" label_font="font_button" 
	insets="15 0 15 0"/>

<!-- шаблон кнопки Play главного меню -->
<mainmenu_play_button image="image_gui_buttonplay" label_color="255 255 255 255" label_font="font_button" />

<!-- шаблон окон в главном меню -->
<mainmenu_base_window back="image_gui_frame" />

<!-- шаблон свечения бога -->
<gods_glow_template image="image_gui_gods_glow" over_glow_time="300" />

<mainmenu_state inherite="state">
	<lua_window inherite="mainmenu" layer="1" />

	<handler action="init" function="mainmenu_state_on_init" />

</mainmenu_state>


<!-- главное меню -->
<mainmenu back="image_gui_mainmenu" moveable="0" lua="general lua machine"
	id="mainmenu" x="0" y="0" width="800" height="600" generic_handler="mainmenu_generic_handler" update="mainmenu_update">

	<handler action="init" function="mainmenu_on_init" />
	
	<!-- плиты с богами -->
           	<image_widget id="god1" image="image_gui_re" x="118" y="154" layer="30" stop_animation="1"/>
		<god_glow inherite="gods_glow_template" id="godglow1" x="118" y="154" layer="31"/>

           	<image_widget id="god2" image="image_gui_hnum" x="584" y="154" layer="30" stop_animation="1" mirrored="1"/>
		<god_glow inherite="gods_glow_template" id="godglow2" x="584" y="154" layer="31"/>

           	<image_widget id="god3" image="image_gui_hathor" x="118" y="354" layer="30" stop_animation="1" />
		<god_glow inherite="gods_glow_template" id="godglow3" x="118" y="354" layer="31"/>

           	<image_widget id="god4" image="image_gui_neit" x="584" y="354" layer="30" stop_animation="1" mirrored="1"/>
		<god_glow inherite="gods_glow_template" id="godglow4" x="584" y="354" layer="31"/>


  	<button_widget inherite="mainmenu_play_button" layer="20"
		id="play" x="295" y ="149" />

	<label_widget id="time_left" y="580" inherite="text_base_text" layer="40" color="255 255 0 0" width="800"
		text="$44" visible="0" justification="center"/>

	<button_widget inherite="mainmenu_base_button" layer="20" visible="0" disabled="1"
		id="register" x="400" y ="331" label_text="$36" width="0" fit_text="expand_center"/>
	<button_widget inherite="mainmenu_base_button" layer="20"
		id="records" x="337" y ="374" label_text="$37" />
	<button_widget inherite="mainmenu_base_button" layer="20"
		id="options" x="337" y ="418" label_text="$38" />
	<button_widget inherite="mainmenu_base_button" layer="20"
		id="help_mainmenu" x="337" y ="461" label_text="$39" />
  	<button_widget inherite="mainmenu_base_button" layer="20"
		id="quit" x="337" y ="504" label_text="$40" />

  	<label_widget layer="10"
		id="caption" font="font_default"  width="800" height="0"
    		color="255 0 255 255" x="0" y="20" justification="center" text="$45" />  

<!-- текст приветствия -->
	<label_widget id="greet"  font="font_button" color="255 137 39 39"  width="800" height="30"  x="0" y="6"
                justification="center" text="$41"/>
<!-- ссылка на изменение профайла -->
           <hyperlink_widget id="change_profile"  width="800" height="30"  x="0" y="24"  justification="center"  
                text="$43" color_normal="255 0 90 0" color_over="255 12 137 12"  color_pressed="255 98 98 13" font="font_button"/>

</mainmenu>

<!-- окно выбора профайлов -->
<profile_window inherite="mainmenu_base_window" moveable="1"
	id="profile_window" width="390" height="420" x="205" y="90" generic_handler="profile_window_generic_handler">

	<list_widget id="profiles" inherite="base_list" x="50" y="50" width="290" height="233" />

  	<button_widget inherite="base_game_button" layer="20" width="150"
		id="ok" x="40" y ="350" label_text="$101"/>
  	<button_widget inherite="base_game_button" layer="20" width="150"
		id="cancel" x="204" y ="350" label_text="$102" />
  	<button_widget inherite="base_game_button" layer="20" width="150"
		id="delete" x="204" y ="297" label_text="$48" />
  	<button_widget inherite="base_game_button" layer="20" width="150"
		id="rename" x="40" y ="297" label_text="$46" />

	<handler action="load_template" function="profile_window_on_load_template" />
</profile_window>

<!-- базовое окно для создания и изменения имени профайла-->
<base_new_profile_window inherite="mainmenu_base_window" moveable="1" width="360" height="210" x="220" y="195" >
	<edit_widget inherite="base_editbox" id="name" active="1" width="200" x="80" y="100" force_active="1"  justification="center"/>
	
	<button_widget inherite="base_game_button" id="ok" label_text="$101" x="40" y="140" width="120"/>
	<button_widget inherite="base_game_button" id="cancel" label_text="$102" x="200" y="140" width="120"/>
</base_new_profile_window>

<!-- окно создания профайла-->
<create_profile_window inherite="base_new_profile_window" generic_handler="create_profile_window_generic_handler"
	on_key_handler="create_profile_on_key">
	<label_widget width="360" y="25" inherite="text_base_title" text="$63" justification="center"/>
            <label_widget width="360" y="60" inherite="text_base_text" text="$64" justification="center"/>

</create_profile_window>

<!-- окно переименования профайла-->
<rename_profile_window inherite="base_new_profile_window" generic_handler="rename_profile_window_generic_handler"
             on_key_handler="rename_profile_on_key" width="360" height="210" x="15" y="195" >
            <label_widget width="360" y="25" inherite="text_base_title" text="$58" justification="center"/>
	<label_widget width="360" y="60" inherite="text_base_text" text="$59" justification="center"/>
</rename_profile_window>


<!-- шаблоны для окна рекордов -->

<records_rank_label inherite="text_base_button" x="67" y="115" text="1" layer="15"/>
<records_name_label inherite="text_base_button" x="100" y="115" text="Player12345678901234" layer="15"/>
<records_level_label inherite="text_base_button" x="270" width="62" y="115" text="100" layer="15" justification="center"/>
<records_gems_label inherite="text_base_number" x="368" y="115" text="" layer="15"/>
<records_eye_image image="image_game_gui_reeye_gray" x="451" y="115" width="26" height="27" layer="15" />
<records_score_label inherite="text_base_button"  x="640"  y="115" text="1000000" layer="15"/>


<!-- окно рекордов -->
<records_window inherite="mainmenu_base_window" moveable="0"
	id="records_window" width="800" height="600" x="0" y="0" generic_handler="records_window_generic_handler">
<label_widget inherite="text_base_title"
	width="800" height="30" single_line="1" justification="center" y="17" text="$91" />
<!----------закладки---------->
	<button_widget id="local" image="image_gui_records_bookmark" x="64" y="49" label_text="$95" 
                          label_font="font_button" label_color="255 98 79 46" layer="25"/>
	<button_widget id="daily" image="image_gui_records_bookmark" x="195" y="49" label_text="$96" 
                          label_font="font_button"  label_color="255 98 79 46" layer="20" />
	<button_widget id="global" image="image_gui_records_bookmark" x="322" y="49" label_text="$97"
                          label_font="font_button"  label_color="255 98 79 46" layer="20" />
<!--------- кнопки------------->
  	<button_widget inherite="base_game_button" layer="25" 
		id="close" x="636" y ="533" label_text="$79" width="120" fit_text="1"/>
  	<button_widget inherite="base_game_button" layer="25" 
		id="clear" x="44" y ="533" label_text="$80" width="120" fit_text="1"/>
 <!--------- главы------------->           
            <image_widget image="image_gui_records_title" x="47" y="78" layer="22"/>


	<label_widget inherite="text_base_text" color="255 98 79 46"
		 single_line="1" justification="left"  x= "55" y="97"
		text="$211" />
	<label_widget inherite="text_base_text" color="255 98 79 46"
		 single_line="1" justification="left"  x= "100" y="97"
		text="$92" />	
           <label_widget inherite="text_base_text" color="255 98 79 46"
		 single_line="1" justification="left"  x= "278" y="97"
		text="$213" />	
          <label_widget inherite="text_base_text"  color="255 98 79 46"
		 single_line="1" justification="left" x= "335" y="97"
		text="$94" />	
         <label_widget inherite="text_base_text" color="255 98 79 46"
		 single_line="1" justification="left" x= "428" y="97"
		text="$212" />
         <label_widget inherite="text_base_text" color="255 98 79 46"
		 single_line="1" justification="left" x= "630" y="97"
		text="$93" />

<!--------- поле и камни --------->          
           <image_widget id="row1" image="image_gui_records_row" x="47" y="110" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="114" width="27" height="30" layer="15"/>
           <image_widget id="row2" image="image_gui_records_row" x="47" y="151" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="155" width="27" height="30" layer="15"/>
           <image_widget id="row3" image="image_gui_records_row" x="47" y="192" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="196" width="27" height="30" layer="15"/>
           <image_widget id="row4" image="image_gui_records_row" x="47" y="233" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="237" width="27" height="30" layer="15"/>
           <image_widget id="row5" image="image_gui_records_row" x="47" y="274" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="276" width="27" height="30" layer="15"/>
           <image_widget id="row6" image="image_gui_records_row" x="47" y="315" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="319" width="27" height="30" layer="15"/>
           <image_widget id="row7" image="image_gui_records_row" x="47" y="356" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="360" width="27" height="30" layer="15"/>
           <image_widget id="row8" image="image_gui_records_row" x="47" y="397" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="400" width="27" height="30" layer="15"/>
           <image_widget id="row9" image="image_gui_records_row" x="47" y="438" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="441"  width="27" height="30" layer="15"/>
           <image_widget id="row10" image="image_gui_records_row" x="47" y="479" layer="14"/>
           <image_widget image="image_game_bonuses_gem" x="342" y="482" width="27" height="30" layer="15"/>
	
            <scroll_widget id="scroll" inherite="base_scroll" height="413"  layer="15" x="750" y="110"/>
           <image_widget image="image_gui_records_e" x="420" y="115" layer="20"/>
	
           <handler action="load_template" function="records_window_on_load_template" />
</records_window>

</data>
