<?xml version="1.0" encoding="utf-8">

<UIScene name="SCREEN_LEVELUP_MANEUVERS" width=1024 height=768 priority="SCENE_INGAME_FULLSCREEN" scriptloadable="true" fullscreen=true cullrenderables=true />

	<!-- Title Pane -->
    <UIPane name="TitlePane" x=ALIGN_CENTER y=ALIGN_TOP width=984 height="74" capturemouseclicks="false" ignoreevents="true" >
        <UIText name="TITLE_TEXT" text="Maneuvers" x=ALIGN_CENTER y=12 width=356 height=30 align="center" valign="middle" 
	        fontfamily="Special_Font" style="4" />
        <UIIcon img="main_sub_titles.tga" x="0" y="0" width="PARENT_WIDTH" height="PARENT_HEIGHT"/>
    </UIPane>

	<UIPane name="CONTENTS_PANE" x=ALIGN_LEFT y=ALIGN_CENTER width=1024 height=675 >

    <!-- Info and Stats Container Pane -->
    <UIPane name="InfoStatsPane" x=764 y=21 width="268" height="654" >
        <UIButton name="SHOW_INFO" x="24" y="0" strref="181231" style="STYLE_CHARGEN_TAB" groupid="3" groupmemberid="1"
          OnSelected=UIButton_Input_ShowObject("PANE_INFO") OnUnselected=UIButton_Input_HideObject("PANE_INFO") >
        </UIButton>

        <!-- Info Pane-->
        <UIPane name="PANE_INFO" x="6" y="11" width="262" height="630" hidden="false" >
            <UIListBox name="INFOPANE_LISTBOX" x="24" y="33" width="208" height="580" yPadding="0" xPadding="0" showpartialchild="true"
              unequalcontrols="true" scrollsegmentsize="30" hidescrollbarwhennotneeded="false" >

				<UIText name="INFOPANE_HELPTEXT" strref="280686" width="PARENT_WIDTH" height="DYNAMIC" align="left" valign="top" fontfamily="NWN1_Dialog" multiline="true" />				

				<UIPane name="INFO_CONTAINER" x=0 y=0 width=PARENT_WIDTH height=40 >
					<UIIcon name="INFOPANE_IMAGE" img="b_empty.tga" x=5 y=0 width=40 height=40 ignoreevents=true />
					<UIText name="INFOPANE_TITLE" x=50 y=0 width=150 height=40 align=left valign=middle fontfamily="NWN1_Dialog" style="bold" />			
				</UIPane>		

                <UIText name="INFOPANE_TEXT" width="PARENT_WIDTH" height="DYNAMIC" align="left" valign="top" fontfamily="NWN1_Dialog" multiline="true" />
                <UIScrollBar name="SB" style="STYLE_SB_THIN"></UIScrollBar>
            </UIListBox>
        </UIPane>

        <UIFrame x="0" y="6" width="264" height="647" topleft="frame_main_t_TL.tga" topright="frame_main_t_TR.tga" 
        bottomleft="frame_main_BL.tga" bottomright="frame_main_d_BR.tga" top="frame_main_T.tga" bottom="frame_main_b.tga"
        left="frame_main_l.tga" right="frame_main_r.tga" fillstyle="stretch" fill="frame_main_bg.tga"  border="64" />
    </UIPane>

	<!-- Retrainable Maneuvers Pane -->
	<UIPane name="RetrainPane" x=510 y=18 width=284 height=656 >
		
		<UIListbox name="RETRAIN_MANEUVER_LIST" x=22 y=62 width=239 height=570 xPadding=0 yPadding=5 selectonleftclick=true
		showpartialchild=true scrollbaronright=true unequalcontrols=true scrollsegmentsize=150 hidescrollbarwhennotneeded=false >

			<UIPane name="MANEUVERPANE_PROTO" x=0 y=0 width=225 height=40 prototype=true tupple=true
				OnLeftClick0=UIObject_Misc_ExtractData("self:","string",7,local:7)
				OnLeftClick1=UIObject_Misc_ExecuteServerScript(gui_display_infopane,local:7) >
				<UIButton name="MANEUVER_ACTION" x=0 y=0 width=15 height=40 prototype=true
				OnLeftClick0=UIObject_Misc_ExecuteServerScript(gui_rt_maneuver,local:7)>
					<UIFrame state=up		fill="b_addl_normal.tga" />
					<UIFrame state=down		fill="b_addl_pressed.tga" />
					<UIFrame state=focused	fill="b_addl_pressed.tga" />
					<UIFrame state=hilited	fill="b_addl_normal.tga" />
					<UIFrame state=hifocus	fill="b_addl_pressed.tga" />
					<UIFrame state=disabled	fill="b_addl_normal.tga" />
				</UIButton>
				<UIButton name="MANEUVER_TEXT" x=15 y=0 width=169 height=40 prototype=true >
					<UIText name="MANEUVER_TEXTFIELD" indent=10 hangingindent=10 align=left valign=middle fontfamily="Title_Font" prototype=true />
					<UIFrame state=up		fill="b_g_lg01_normal.tga" />
					<UIFrame state=down		fill="b_g_lg01_pressed.tga" />
					<UIFrame state=focused	fill="b_g_lg01_pressed.tga" />
					<UIFrame state=hilited	fill="b_g_lg01_normal.tga" />
					<UIFrame state=hifocus	fill="b_g_lg01_pressed.tga" />
					<UIFrame state=disabled	fill="b_g_lg01_normal.tga" />
				</UIButton>
				<UIButton name="MANEUVER_IMAGE" x=184 y=0 width=40 height=40 prototype=true >
					<UIFrame state=base		fill="b_empty.tga" />
					<UIFrame state=up		fill="b_empty.tga" />
					<UIFrame state=down		fill="b_overlay.tga" />
					<UIFrame state=focused	fill="b_empty.tga" />
					<UIFrame state=hilited	fill="b_empty.tga" />
					<UIFrame state=hifocus	fill="b_overlay.tga" />
					<UIFrame state=disabled	fill="b_empty.tga" />
				</UIButton>
			</UIPane>

			<UIScrollBar name="SB" style="STYLE_SB_THIN"></UIScrollBar>	
		</UIListbox>

		<UIText name="RETRAIN_POOL_TEXT" x="37" y="13" width="40" height="40" align="center" valign="middle" fontfamily="Special_Font" style="2" />
        <UIIcon name="RERAIN_POOL_IMG" img="points_glass.tga" x="35" y="12" width="45" height="44" ignoreevents="true" />

		<UIIcon name="DETAIL_TOP" img="eye_detail.tga" x="0" y="0" width="202" height="68" ignoreevents="true" />

        <UIFrame x="0" y="9" width="PARENT_WIDTH" height="647" topleft="frame_main_TL.tga" topright="frame_main_TR.tga" 
             bottomleft="frame_main_d_BL.tga" bottomright="frame_main_BR.tga" top="frame_main_T.tga" bottom="frame_main_b.tga"
             left="frame_main_l.tga" right="frame_main_r.tga" fillstyle="stretch" fill="frame_main_bg.tga"  border="64" />
		
	</UIPane>

	<!-- Added Maneuvers Pane -->
	<UIPane name="ChoicesPane" x=255 y=18 width=284 height=656 >
		
		<UIListbox name="ADDED_MANEUVER_LIST" x=22 y=62 width=239 height=570 xPadding=0 yPadding=5 selectonleftclick=true
		showpartialchild=true scrollbaronright=true unequalcontrols=true scrollsegmentsize=150 hidescrollbarwhennotneeded=false >

			<UIPane name="MANEUVERPANE_PROTO" x=0 y=0 width=225 height=40 prototype=true tupple=true
				OnLeftClick0=UIObject_Misc_ExtractData("self:","string",7,local:7)
				OnLeftClick1=UIObject_Misc_ExecuteServerScript(gui_display_infopane,local:7) >
				<UIButton name="MANEUVER_ACTION" x=0 y=0 width=15 height=40 prototype=true
				OnLeftClick0=UIObject_Misc_ExecuteServerScript(gui_unlearn_maneuver,local:7)>
					<UIFrame state=up		fill="b_addl_normal.tga" />
					<UIFrame state=down		fill="b_addl_pressed.tga" />
					<UIFrame state=focused	fill="b_addl_pressed.tga" />
					<UIFrame state=hilited	fill="b_addl_normal.tga" />
					<UIFrame state=hifocus	fill="b_addl_pressed.tga" />
					<UIFrame state=disabled	fill="b_addl_normal.tga" />
				</UIButton>
				<UIButton name="MANEUVER_TEXT" x=15 y=0 width=169 height=40 prototype=true >
					<UIText name="MANEUVER_TEXTFIELD" indent=10 hangingindent=10 align=left valign=middle fontfamily="Title_Font" prototype=true />
					<UIFrame state=up		fill="b_g_lg01_normal.tga" />
					<UIFrame state=down		fill="b_g_lg01_pressed.tga" />
					<UIFrame state=focused	fill="b_g_lg01_pressed.tga" />
					<UIFrame state=hilited	fill="b_g_lg01_normal.tga" />
					<UIFrame state=hifocus	fill="b_g_lg01_pressed.tga" />
					<UIFrame state=disabled	fill="b_g_lg01_normal.tga" />
				</UIButton>
				<UIButton name="MANEUVER_IMAGE" x=184 y=0 width=40 height=40 prototype=true >
					<UIFrame state=base		fill="b_empty.tga" />
					<UIFrame state=up		fill="b_empty.tga" />
					<UIFrame state=down		fill="b_overlay.tga" />
					<UIFrame state=focused	fill="b_empty.tga" />
					<UIFrame state=hilited	fill="b_empty.tga" />
					<UIFrame state=hifocus	fill="b_overlay.tga" />
					<UIFrame state=disabled	fill="b_empty.tga" />
				</UIButton>
			</UIPane>

			<UIScrollBar name="SB" style="STYLE_SB_THIN"></UIScrollBar>	
		</UIListbox>

		<UIText name="POINT_POOL_TEXT" x="37" y="13" width="40" height="40" align="center" valign="middle" fontfamily="Special_Font" style="2" />
        <UIIcon name="POINT_POOL_IMG" img="points_glass.tga" x="35" y="12" width="45" height="44" ignoreevents="true" />

		<UIIcon name="DETAIL_TOP" img="eye_detail.tga" x="0" y="0" width="202" height="68" ignoreevents="true" />

        <UIFrame x="0" y="9" width="PARENT_WIDTH" height="647" topleft="frame_main_TL.tga" topright="frame_main_TR.tga" 
             bottomleft="frame_main_d_BL.tga" bottomright="frame_main_BR.tga" top="frame_main_T.tga" bottom="frame_main_b.tga"
             left="frame_main_l.tga" right="frame_main_r.tga" fillstyle="stretch" fill="frame_main_bg.tga"  border="64" />
		
	</UIPane>

	<!-- Available Maneuvers Pane -->
	<UIPane name="AvailablePane"  x=0 y=18 width=284 height=656 >
		<UIText text="Available Maneuvers" x=21 y=41 width=230 height=30 align=right valign=middle fontfamily="Title_Font" style=2 />
		<UIIcon name="DETAIL_TOP" img="3rd_window_title.tga" x=21 y=41 width=240 height=30 ignoreevents="true" />
		
		<UIGrid name="MANEUVER_LEVEL_GRID" rows=2 columns=5 x=40 y=75 xPadding=15 yPadding=3 >
			<UIButton name="MANEUVER_0" height=24 width=24 buttontype=radio groupid=1 groupmemberid=1 
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,0)>
				<UIFrame state=up		fill="b_s0_normal.tga" />
				<UIFrame state=down		fill="b_s0_pressed.tga" />
				<UIFrame state=focused	fill="b_s0_hover.tga" />
				<UIFrame state=hilited	fill="b_s0_hover.tga" />
				<UIFrame state=hifocus	fill="b_s0_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s0_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_1" height=24 width=24 buttontype=radio groupid=1 groupmemberid=2 
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,1)>
				<UIFrame state=up		fill="b_s1_normal.tga" />
				<UIFrame state=down		fill="b_s1_pressed.tga" />
				<UIFrame state=focused	fill="b_s1_hover.tga" />
				<UIFrame state=hilited	fill="b_s1_hover.tga" />
				<UIFrame state=hifocus	fill="b_s1_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s1_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_2" height=24 width=24 buttontype=radio groupid=1 groupmemberid=3
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,2)>
				<UIFrame state=up		fill="b_s2_normal.tga" />
				<UIFrame state=down		fill="b_s2_pressed.tga" />
				<UIFrame state=focused	fill="b_s2_hover.tga" />
				<UIFrame state=hilited	fill="b_s2_hover.tga" />
				<UIFrame state=hifocus	fill="b_s2_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s2_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_3" height=24 width=24 buttontype=radio groupid=1 groupmemberid=4
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,3)>
				<UIFrame state=up		fill="b_s3_normal.tga" />
				<UIFrame state=down		fill="b_s3_pressed.tga" />
				<UIFrame state=focused	fill="b_s3_hover.tga" />
				<UIFrame state=hilited	fill="b_s3_hover.tga" />
				<UIFrame state=hifocus	fill="b_s3_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s3_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_4" height=24 width=24 buttontype=radio groupid=1 groupmemberid=5
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,4)>
				<UIFrame state=up		fill="b_s4_normal.tga" />
				<UIFrame state=down		fill="b_s4_pressed.tga" />
				<UIFrame state=focused	fill="b_s4_hover.tga" />
				<UIFrame state=hilited	fill="b_s4_hover.tga" />
				<UIFrame state=hifocus	fill="b_s4_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s4_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_5" height=24 width=24 buttontype=radio groupid=1 groupmemberid=6
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,5)>
				<UIFrame state=up		fill="b_s5_normal.tga" />
				<UIFrame state=down		fill="b_s5_pressed.tga" />
				<UIFrame state=focused	fill="b_s5_hover.tga" />
				<UIFrame state=hilited	fill="b_s5_hover.tga" />
				<UIFrame state=hifocus	fill="b_s5_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s5_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_6" height=24 width=24 buttontype=radio groupid=1 groupmemberid=7
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,6)>
				<UIFrame state=up		fill="b_s6_normal.tga" />
				<UIFrame state=down		fill="b_s6_pressed.tga" />
				<UIFrame state=focused	fill="b_s6_hover.tga" />
				<UIFrame state=hilited	fill="b_s6_hover.tga" />
				<UIFrame state=hifocus	fill="b_s6_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s6_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_7" height=24 width=24 buttontype=radio groupid=1 groupmemberid=8
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,7)>
				<UIFrame state=up		fill="b_s7_normal.tga" />
				<UIFrame state=down		fill="b_s7_pressed.tga" />
				<UIFrame state=focused	fill="b_s7_hover.tga" />
				<UIFrame state=hilited	fill="b_s7_hover.tga" />
				<UIFrame state=hifocus	fill="b_s7_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s7_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_8" height=24 width=24 buttontype=radio groupid=1 groupmemberid=9
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,8)>
				<UIFrame state=up		fill="b_s8_normal.tga" />
				<UIFrame state=down		fill="b_s8_pressed.tga" />
				<UIFrame state=focused	fill="b_s8_hover.tga" />
				<UIFrame state=hilited	fill="b_s8_hover.tga" />
				<UIFrame state=hifocus	fill="b_s8_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s8_normal.tga" />
			</UIButton>
			<UIButton name="MANEUVER_9" height=24 width=24 buttontype=radio groupid=1 groupmemberid=10 
			OnSelected=UIObject_Misc_ExecuteServerScript(gui_tob_display_known,9)>
				<UIFrame state=up		fill="b_s9_normal.tga" />
				<UIFrame state=down		fill="b_s9_pressed.tga" />
				<UIFrame state=focused	fill="b_s9_hover.tga" />
				<UIFrame state=hilited	fill="b_s9_hover.tga" />
				<UIFrame state=hifocus	fill="b_s9_hover_pressed.tga" />
				<UIFrame state=disabled	fill="b_s9_normal.tga" />
			</UIButton>
		</UIGrid>

		<UIListbox name="AVAILABLE_MANEUVER_LIST" x=22 y=130 width=239 height=500 xPadding=0 yPadding=5 
		showpartialchild=true scrollbaronright=true unequalcontrols=true scrollsegmentsize=150 hidescrollbarwhennotneeded=false >

				<UIPane name="MANEUVERPANE_PROTO" x=0 y=0 width=225 height=40 prototype=true tupple=true
				OnLeftClick0=UIObject_Misc_ExtractData("self:","string",7,local:7)
				OnLeftClick1=UIObject_Misc_ExecuteServerScript(gui_display_infopane,local:7) >
					<UIButton name="MANEUVER_IMAGE" x=0 y=0 width=40 height=40 prototype=true >
						<UIFrame state=base		fill="b_empty.tga" />
						<UIFrame state=up		fill="b_empty.tga" />
						<UIFrame state=down		fill="b_overlay.tga" />
						<UIFrame state=focused	fill="b_empty.tga" />
						<UIFrame state=hilited	fill="b_empty.tga" />
						<UIFrame state=hifocus	fill="b_overlay.tga" />
						<UIFrame state=disabled	fill="b_empty.tga" />
					</UIButton>
					<UIButton name="MANEUVER_TEXT" x=40 y=0 width=165 height=40 prototype=true >
						<UIText name="MANEUVER_TEXTFIELD" x=10 y=0 indent=10 hangingindent=10 align=left valign=middle fontfamily="Title_Font" prototype=true />
						<UIFrame state=up		fill="b_g_lg01_normal.tga" />
						<UIFrame state=down		fill="b_g_lg01_pressed.tga" />
						<UIFrame state=focused	fill="b_g_lg01_pressed.tga" />
						<UIFrame state=hilited	fill="b_g_lg01_normal.tga" />
						<UIFrame state=hifocus	fill="b_g_lg01_pressed.tga" />
						<UIFrame state=disabled	fill="b_g_lg01_normal.tga" />
					</UIButton>
					<UIButton name="MANEUVER_ACTION" x=205 y=0 width=15 height=40 prototype=true
					OnLeftClick0=UIObject_Misc_ExecuteServerScript(gui_select_maneuver,local:7)>
						<UIFrame state=up		fill="b_addr_normal.tga" />
						<UIFrame state=down		fill="b_addr_pressed.tga" />
						<UIFrame state=focused	fill="b_addr_pressed.tga" />
						<UIFrame state=hilited	fill="b_addr_normal.tga" />
						<UIFrame state=hifocus	fill="b_addr_pressed.tga" />
						<UIFrame state=disabled	fill="b_addr_normal.tga" />
					</UIButton>
				</UIPane>

			<UIScrollBar name="SB" style="STYLE_SB_THIN"></UIScrollBar>	
		</UIListbox>

		<UIFrame x="0" y="9" width="PARENT_WIDTH" height="647" topleft="frame_main_t_TL.tga" topright="frame_main_TR.tga" 
		bottomleft="frame_main_d_BL.tga" bottomright="frame_main_BR.tga" top="frame_main_T.tga" bottom="frame_main_b.tga"
		left="frame_main_l.tga" right="frame_main_r.tga" fillstyle="stretch" fill="frame_main_bg.tga"  border="64" />
		
	</UIPane>

	</UIPane>

	<UIPane name="CANCEL_CONTAINER" x=0 y=723 width=176 height=45 >
		<UIButton name="CHOICE_CANCEL" strref="113678" x=ALIGN_RIGHT y=0 style="STYLE_MENU_BUTTON_SML"
		OnLeftClick=UIObject_Misc_ExecuteServerScript(gui_tob_cancel_levelup) >
		</UIButton>
	</UIPane>

	<UIPane name="CHARGEN_BUTTONS" x=ALIGN_RIGHT y=723 width=520 height=45 >
		<UIButton name="CHOICE_NEXT" text="Finish" x="336" y="0" disabled=true style="STYLE_MENU_BUTTON_SML"
		OnLeftClick=UIObject_Misc_ExecuteServerScript(gui_open_rt) >		
		</UIButton>
	</UIPane>

	<!-- Character Model 3D Scene -->
    <UI3DScene name="TEMP_CHARACTER_SCENE" x="0" y="0" width="1024" height="768" texture="autumn.tga" scalewithscene=true 
		cameralook_x="-1.25" cameralook_y="0.0" cameralook_z="1.3" 
		camerapos_x="-0.90" camerapos_y="4.0" camerapos_z="1.1" 	
        ambground_intens=".4" ambgroundcolor_r=".7" ambgroundcolor_g=".55" ambgroundcolor_b=".4"           
        ambsky_intens=".8" ambskycolor_r=".3" ambskycolor_g=".4" ambskycolor_b=".78"         
        light_intens="0" lightdir_x="1.0" lightdir_y="1.0" lightdir_z="2.15" diffusecolor_r="1.10" diffusecolor_g="1.0" diffusecolor_b="1.0"
        OnRender='UI3DScene_OnRender_DisplaySceneCreature()' handleactiontarget="true" >

        <!-- FILL LIGHT -->
		<UIPointLight active="true" pos_x="-0.65" pos_y="1.9" pos_z="1.5" radius="4" intensity=".8" 
		color_r=".83" color_g="0.71" color_b="0.53" 
		speccolor_r=".5" speccolor_g=".2" speccolor_b="0" />

		<!-- LEFT SIDE -->
		<UIPointLight active="true" pos_x="1" pos_y="1" pos_z="1.86" radius="3" intensity="2.0" 
		color_r=".21" color_g=".3" color_b=".4" 
		speccolor_r=".52" speccolor_g=".77" speccolor_b=".91" />

		<!-- RIGHT SIDE -->
		<UIPointLight active="true" pos_x="-.66" pos_y="-.65" pos_z="1.75" radius="3" intensity="2.5" 
		color_r=".6" color_g=".55" color_b=".5" 
		speccolor_r=".83" speccolor_g=".64" speccolor_b=".45" />
    </UI3DScene>
